Request.id

Get the ID of this request.

If the ID is not of type long, it needs to be specified; if uncertain of the underlying type, use idType to query for it.

There is no ID for notifications.

More...
struct Request
@property
id
(
T = long
)
()

Detailed Description

Template Parameters

T = The type of the ID; the default type is long, but JSON-RPC allows IDs to also be string or typeof(null).

Throws

IncorrectType if the underlying type of the ID is not the requested type.

IncorrectType if this request is a notification.

See Also

idType

Meta