HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Node.js SDK - RainwayConnectionEvents

Home > @rainway/native > RainwayConnectionEvents

RainwayConnectionEvents interface

Events emitted by RainwayConnection

Signature:

export interface RainwayConnectionEvents 

Properties

PropertyTypeDescription
"peer-request"(ev: PeerRequestEvent) => EventReturnTypeRaised when a remote peer wants to connect to this device.
close(ev: CloseEvent) => EventReturnTypeRaised when the connection to Rainway is closed.