Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex API Gateway
  • Getting started
  • Access management
  • Tools
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Get
        • Send
        • Disconnect
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • 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 December 9, 2025
  • 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.

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.

  • 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.