Home > @rainway/web > RainwayConnectionEvents
RainwayConnectionEvents interface
Signature:
export interface RainwayConnectionEvents
Properties
| Property | Type | Description |
|---|---|---|
| "peer-request" | (request: PeerConnectionRequest) => void | Promise<void> | Raised when a remote peer wants to connect to this device. |
| close | (error?: RainwayError) => void | Promise<void> | Raised when the connection to Rainway has been closed |
