Private Readonly authPrivate Readonly coderPrivate handleHandles a server message.
Private isWhether the transport has been closed.
Private Readonly loggerPrivate outOut-of-order received messages, e.g. if a response is faster than the response handler is registered.
Private receivePrivate receiveReceives a response for the given request id.
Private receiveReceives a stream of responses for the given request id.
Private requestThe current request id. Automatically increments for every request.
Private responseHandlers for response messages.
Private sendSends a request.
Private Readonly transportCreates a resource at the given path. Requires CREATE permission.
Deletes a resource at the given path. Requires DELETE permission.
Gets the resource at the given path. Requires READ permission.
Links the given source to the given destination path. Requires WRITE permission for the destination and READ for the source.
Lists the directory tree at the given path. Requires READ permission.
Creates a directory at the given path. Requires CREATE permission.
Performs a single request to the given path with the given payload.
Optional payload: TCombines PUT and CREATE. Requires CREATE and WRITE permission.
Updates the resource at the given path with the given payload. Requires WRITE permission.
Sends an input event to the user's input endpoint.
Note that this is the new API which not all clients may support. If your
client or library does not support this, you may need to use putModel
with a LegacyInputEvent.
Optional user: stringSends a frame or a legacy input event to the user's model.
Optional user: stringSends a client message.
Performs a streaming request to the given path with the given payload.
Optional payload: TStreams the user's input (including e.g. key/controller events).
Note that this is the new API which not all clients may support (in LUNA
disabling the legacy mode will send events to this endpoint). If your
client or library does not support this, you may need to streamModel and
read LegacyInputEvents.
Optional user: stringStreams the user's model (including e.g. key/controller events).
Optional user: stringUnlinks the given source from the given destination path. Requires WRITE permission for the destination.
Generated using TypeDoc
A connection to the lighthouse.