- Preparing search index...
- The search index is not available
nighthouse
Methods
close
- close(): Promise<void>
-
Returns Promise<void>
onReceive
- onReceive(handler): void
-
Parameters
-
handler: ((message) => void)
-
- (message): void
-
Returns void
Returns void
ready
- ready(): Promise<void>
-
Returns Promise<void>
send
- send(message): Promise<void>
-
Returns Promise<void>
A transport for sending and receiving messages. Most implementations use an underlying WebSocket connection.