rpc.protocol.json

Json-Rpc 2.0 protocol implementation.

Members

Aliases

HTTPJsonRPCClient
alias HTTPJsonRPCClient(TId) = HttpRPCClient!(TId, JsonRPCRequest!TId, JsonRPCResponse!TId)

An http json-rpc client

IJsonRPCClient
alias IJsonRPCClient(TId) = IRPCClient!(TId, JsonRPCRequest!TId, JsonRPCResponse!TId)
Undocumented in source.
IJsonRPCServer
alias IJsonRPCServer(TId) = IRPCServer!(TId, JsonRPCRequest!TId, JsonRPCResponse!TId)
Undocumented in source.
JsonRPCRequestHandler
alias JsonRPCRequestHandler(TId) = RPCRequestHandler!(JsonRPCRequest!TId, JsonRPCResponse!TId)
Undocumented in source.

Classes

HTTPJsonRPCAutoClient
class HTTPJsonRPCAutoClient(I)
Undocumented in source.
HTTPJsonRPCServer
class HTTPJsonRPCServer(TId)

An http json-rpc server.

JsonRPCAutoClient
class JsonRPCAutoClient(I)

Base class to create a Json RPC automatic client.

JsonRPCError
class JsonRPCError

Json-Rpc 2.0 error.

JsonRPCMethodException
class JsonRPCMethodException

Encapsulate a json-rpc error response.

JsonRPCRequest
class JsonRPCRequest(TId)

Json-Rpc request.

JsonRPCResponse
class JsonRPCResponse(TId)

Json-Rpc response.

JsonRPCUserException
class JsonRPCUserException

Exception to be used inside rpc handler, to throw user defined json-rpc error.

RawJsonRPCAutoClient
class RawJsonRPCAutoClient(I)
Undocumented in source.
RawJsonRPCClient
class RawJsonRPCClient(TId)
Undocumented in source.
RawJsonRPCServer
class RawJsonRPCServer(TId)
Undocumented in source.
TCPJsonRPCAutoClient
class TCPJsonRPCAutoClient(I)
Undocumented in source.
TCPJsonRPCClient
class TCPJsonRPCClient(TId)
Undocumented in source.
TCPJsonRPCServer
class TCPJsonRPCServer(TId)
Undocumented in source.

Functions

jsonRpcMethodHandler
JsonRPCRequestHandler!TId jsonRpcMethodHandler(T inst, InterfaceInfo!T intf)

Return an handler to match a json-rpc request on an interface method.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.