Stone.js API
    Preparing search index...

    Posts messages back to WebSocket connections through the API Gateway Management API.

    In an API Gateway WebSocket API there is no held socket: to push to a client you call postToConnection against the management endpoint (https://<domain>/<stage>). A stale connection (410 Gone) is swallowed, since it just means the client has since disconnected. @aws-sdk/client-apigatewaymanagementapi is imported lazily as an optional peer dependency.

    Implements

    Index
    • Parameters

      • connectionId: string
      • data: string

      Returns Promise<void>