Client.callEx

With Server host, port, magic, cryptType, key parameters, not need call setServerHost(), settings(). When the same client needs to connect to different servers, it needs to be used.

  1. T callEx(string host, ushort port, ushort magic, CryptType crypt, string key, Nullable!RSAKeyInfo rsaKey, string method, Params params)
    class Client
    static
    T
    callEx
    (
    T
    Params...
    )
    (
    const string host
    ,
    const ushort port
    ,
    const ushort magic
    ,,
    const string key
    ,
    Nullable!RSAKeyInfo rsaKey
    ,
    const string method
    ,
    Params params
    )
    if (
    is(T == void) ||
    (staticIndexOf!(T, supportedBuiltinTypes) != -1)
    ||
    (
    (BaseTypeTuple!T.length > 0) &&
    is(BaseTypeTuple!T[0] == Message)
    )
    )
  2. T callEx(Socket socket, ushort magic, CryptType crypt, string key, Nullable!RSAKeyInfo rsaKey, string method, Params params)

Meta