Node.js SDK - RainwayConnectionEvents."peer-request"

Home > @rainway/native > RainwayConnectionEvents > "peer-request"

RainwayConnectionEvents."peer-request" property

Raised when a remote peer wants to connect to this device.

Signature:

"peer-request": (ev: PeerRequestEvent) => EventReturnType;