Home > @rainway/web > PeerConnectionRequest > accept
PeerConnectionRequest.accept property
Accept the request.
When the connection is established, the peer is added to peers
on RainwayConnection
, and the returned promise resolves to it.
Signature:
accept: () => Promise<Peer>;