API Gateway WebSocket Connection Service, gRPC: ConnectionService.Send
Written by
Updated at November 26, 2024
Sends data to the specified connection.
gRPC request
rpc Send (SendToConnectionRequest) returns (SendToConnectionResponse)
SendToConnectionRequest
{
"connection_id": "string",
"data": "bytes",
"type": "DataType"
}
Field |
Description |
connection_id |
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 |