Client.call

Use global magic, host, port and other information. need call settings(), setServerHost() at before call this. When clients do not need to connect to different servers, using it can simplify calls.

class Client
static
T
call
(
T
Params...
)
(
const string method
,
Params params
)
if (
is(T == void) ||
(staticIndexOf!(T, supportedBuiltinTypes) != -1)
||
(
(BaseTypeTuple!T.length > 0) &&
is(BaseTypeTuple!T[0] == Message)
)
)

Meta