API Gateway WebSocket Connection Service, gRPC: ConnectionService.Send
Written by
Updated at October 17, 2024
Sends data to the specified connection.
gRPC request
rpc Send (SendToConnectionRequest) returns (SendToConnectionResponse)
SendToConnectionRequest
{
"connectionId": "string",
"data": "bytes",
"type": "DataType"
}
Field |
Description |
connectionId |
string Required field. ID of the connection to which send. |
data |
bytes Required field. Data to send. |
type |
enum DataType Type of the sending data.
|
SendToConnectionResponse
{}
Field |
Description |
Empty |