API Gateway WebSocket Connection Service, gRPC: ConnectionService.Send
Written by
Updated at December 9, 2025
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. The maximum string length in characters is 50. |
|
data |
bytes Required field. Data to send. The maximum string length in characters is 131072. |
|
type |
enum DataType Type of the sending data.
|
SendToConnectionResponse
{}
|
Field |
Description |
|
Empty |
|