Home > @rainway/web > MessageEventRequest
MessageEventRequest interface
A data channel "request" message, expecting a response.
Signature:
export interface MessageEventRequest
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
data | Uint8Array | The binary data in the message. | |
type | MessageEventType.Request | The message type, which indicates whether a response is expected. |
Methods
Method | Description |
---|---|
respond(response) | A callback to send a response to this message. (The remote peer did something like |