API Gateway WebSocket Connection Service, gRPC: ConnectionService.Send
Статья создана
Обновлена 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 |