trpc ~master (2021-08-25T05:24:34Z)
Dub
Repo
ThrdRPCTcpClient
trpc
client
Thread RPC client
class
ThrdRPCTcpClient : ImplIfToRpc!(I, T)(
I
int
T
) {
import
std
.
socket
:
TcpSocket
;
;
import
core
.
thread
:
msecs
;
;
import
std
.
conv
:
to
;
;
this
(TcpSocket tcpsock, size_t max_rcv_len);
string
rpcRequest
(string req, int timeout);
}
Constructors
this
this
(TcpSocket tcpsock, size_t max_rcv_len)
Members
Functions
rpcRequest
string
rpcRequest
(string req, int timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
trpc
client
classes
ImplIfToRpc
ThrdRPCTcpClient
ThrdRPClient
functions
_mixinSingleFunc
getJsonRPCID
mixinFuncStr
static variables
_rpc_id
Thread RPC client