Client.callEx

With Socket socket, magic, cryptType, key parameters, not need call setServerHost(), settings(). When the same client needs to connect to different servers, it needs to be used. At the same time, if long connection mode is adopted, it needs to be used as well.

  1. T callEx(string host, ushort port, ushort magic, CryptType crypt, string key, Nullable!RSAKeyInfo rsaKey, string method, Params params)
  2. T callEx(Socket socket, ushort magic, CryptType crypt, string key, Nullable!RSAKeyInfo rsaKey, string method, Params params)
    class Client
    static
    T
    callEx
    (
    T
    Params...
    )
    (
    Socket socket
    ,
    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)
    )
    )

Meta