timiki/rpc-server-bundle

Generated files

config/packages/rpc_server.yaml

# Read the documentation: https://github.com/timiki/rpc-server-bundle

rpc_server:

    mapping: '%kernel.project_dir%/src/Method'

    # id cache service, must be instance of Doctrine\Common\Cache\CacheProvider
    # by default use file cache

    cache: null

    # id serializer service, must be instance of Timiki\Bundle\RpcServerBundle\Serializer\SerializerInterface
    # by default use 'rpc.server.serializer.base' service

    serializer: 'rpc.server.serializer.base'

config/routes/rpc_server.yaml

rpc:
    path:     /rpc
    defaults: { _controller: RpcServerBundle:Rpc:handler }
    methods:  [POST]

src/Method/.gitignore

# Empty file