Web SDK - RainwayConnectionEvents

Home > @rainway/web > RainwayConnectionEvents

RainwayConnectionEvents interface

Signature:

export interface RainwayConnectionEvents 

Properties

PropertyModifiersTypeDescription
"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