handleClient

Handles all of an individual client's requests.

The listen method of the RPCServer calls this in a new thread to handle client requests. This is not intended to be called by user code.

More...
void
handleClient
(
API
Transport = TCPTransport
)
(
Transport transport
,
API api
)
if (
is(API == class) &&
isTransport!Transport
)

Parameters

transport Transport

The network transport used for data transmission.

api API

An instantiated class containing the functions to execute.

Detailed Description

Template Parameters

API = The class containing the RPC functions. Transport = The type of the network transport to use; by default, this is a TCPTransport.

Meta