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
Property | Modifiers | Type | Description |
---|---|---|---|
externalId | string | The ExternalId of the peer requesting the stream. | |
id | BigInt | The ID of the peer requesting the stream. | |
permissions | RainwayInputLevel | The permissions requested by the peer. | |
supportsAppIsolation | boolean | Indicates if the peer requesting the stream supports app isolation. |
Methods
Method | Modifiers | Description |
---|---|---|
acceptInternal(options) | ||
rejectInternal(reason) |