dls.protocol.jsonrpc

Undocumented in source.

Members

Classes

CancelParams
class CancelParams
Undocumented in source.
Message
class Message
Undocumented in source.
NotificationMessage
class NotificationMessage
Undocumented in source.
RequestMessage
class RequestMessage
Undocumented in source.
ResponseError
class ResponseError
Undocumented in source.
ResponseMessage
class ResponseMessage
Undocumented in source.

Enums

ErrorCodes
enum ErrorCodes
Undocumented in source.

Functions

send
string send(string method, Nullable!JSONValue params)

Sends a request or a notification message.

send
string send(string method, T params)

Sends a request or a notification message.

send
void send(JSONValue id, Nullable!JSONValue result, Nullable!ResponseError error)

Sends a response message.

sendError
void sendError(ErrorCodes error, RequestMessage request, JSONValue data)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta