HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - RainwayConnectionEvents

Home > @rainway/web > RainwayConnectionEvents

RainwayConnectionEvents interface

Signature:

export interface RainwayConnectionEvents 

Properties

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