Home > @rainway/native > RainwayConnectionEvents
RainwayConnectionEvents interface
Events emitted by RainwayConnection
Signature:
export interface RainwayConnectionEvents
Properties
| Property | Type | Description |
|---|---|---|
| "peer-request" | (ev: PeerRequestEvent) => EventReturnType | Raised when a remote peer wants to connect to this device. |
| close | (ev: CloseEvent) => EventReturnType | Raised when the connection to Rainway is closed. |
