Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex API Gateway
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Get
        • Send
        • Disconnect
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • gRPC request
  • SendToConnectionRequest
  • SendToConnectionResponse
  1. Websocket API reference
  2. gRPC
  3. Connection
  4. Send

API Gateway WebSocket Connection Service, gRPC: ConnectionService.Send

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • SendToConnectionRequest
  • SendToConnectionResponse

Sends data to the specified connection.

gRPC requestgRPC request

rpc Send (SendToConnectionRequest) returns (SendToConnectionResponse)

SendToConnectionRequestSendToConnectionRequest

{
  "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.

  • DATA_TYPE_UNSPECIFIED
  • BINARY: Binary data.
  • TEXT: Text data.

SendToConnectionResponseSendToConnectionResponse

{}

Field

Description

Empty

Was the article helpful?

Previous
Get
Next
Disconnect
© 2025 Direct Cursus Technology L.L.C.