rpc ~master (2019-04-11T21:28:52Z)
Dub
Repo
JsonRpcAutoClient
rpc
protocol
json
Base class for creating a Json RPC automatic client.
package
class
JsonRpcAutoClient (
I
TId
TReq
:
JsonRpcRequest
!
TId
=
JsonRpcRequest
!
TId
TResp
:
JsonRpcResponse
!
TId
=
JsonRpcResponse
!
TId
) {
import
std
.
traits
;
;
protected
IRpcClient
!(
TId
,
TReq
,
TResp
)
_client
;
protected
RpcInterfaceSettings
_settings
;
ReturnType
!
Func
executeMethod
(ARGS args);
this
(IRpcClient!(TId, TReq, TResp) client, RpcInterfaceSettings settings);
auto
client
[@property getter];
}
Constructors
this
this
(IRpcClient!(TId, TReq, TResp) client, RpcInterfaceSettings settings)
Undocumented in source.
Members
Functions
executeMethod
ReturnType
!
Func
executeMethod
(ARGS args)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
client
auto
client
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_client
IRpcClient
!(
TId
,
TReq
,
TResp
)
_client
;
Undocumented in source.
_settings
RpcInterfaceSettings
_settings
;
Undocumented in source.
Meta
Source
See Implementation
rpc
protocol
json
aliases
HttpJsonRpcClient
IJsonRpcClient
IJsonRpcServer
JsonRpcRequestHandler
classes
HttpJsonRpcAutoClient
HttpJsonRpcServer
JsonRpcAutoAttributeClient
JsonRpcAutoClient
JsonRpcError
JsonRpcMethodException
JsonRpcRequest
JsonRpcResponse
JsonRpcUserException
RawJsonRpcAutoClient
RawJsonRpcClient
RawJsonRpcServer
TcpJsonRpcAutoClient
TcpJsonRpcClient
TcpJsonRpcServer
functions
jsonRpcMethodHandler
Base class for creating a Json RPC automatic client.