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
streamsActive streams, keyed by the path array encoded as a JSON string.
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.
Fetches lamp server metrics.
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 a frame or an 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 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.