Web SDK - RainwayConnectionEvents."peer-request"

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

RainwayConnectionEvents."peer-request" property

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

Signature:

"peer-request": (request: PeerConnectionRequest) => void | Promise<void>;