Node.js SDK - StreamRequestEvent

Home > @rainway/native > StreamRequestEvent

StreamRequestEvent class

An event that occurs when a remote peer requests an OutboundStream.

Signature:

export declare class StreamRequestEvent extends BaseRequestEvent<OutboundStreamOptions, OutboundStream> 

Extends: BaseRequestEvent<OutboundStreamOptions, OutboundStream>

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the StreamRequestEvent class.

Properties

PropertyModifiersTypeDescription
externalIdstringThe ExternalId of the peer requesting the stream.
idBigIntThe ID of the peer requesting the stream.
permissionsRainwayInputLevelThe permissions requested by the peer.
supportsAppIsolationbooleanIndicates if the peer requesting the stream supports app isolation.

Methods