Request.this

Construct a Request with the specified remote method name and arguments.

The value of the ID must be a string, a number, or null; null is not recommended for use as an ID.

  1. this(T id, string method, JSONValue params)
  2. this(JSONValue id, string method, JSONValue params)
    struct Request
    this
    (
    JSONValue id
    ,
    string method
    ,
    JSONValue params
    )
  3. this(string method, JSONValue params)
  4. this(T id, string method, string params)

Parameters

id JSONValue

A JSONValue containing a scalar ID of the request.

method string

The name of the remote method to call.

params JSONValue

A JSONValue containing the method arguments as a JSON Object or array.

Meta