Stone.js API
    Preparing search index...
    • Class decorator: enable the AWS API Gateway WebSocket adapter for a Stone.js application.

      Registers the aws_apigw_ws adapter. Combine with @Realtime() configured to use the ApiGatewayWsBroadcaster (DynamoDB-backed presence) so gateways, channels and presence work across the ephemeral Lambda invocations of a WebSocket API.

      Type Parameters

      • T extends ClassType = ClassType

      Parameters

      Returns ClassDecorator

      A class decorator.

      import { ApiGatewayWs } from '@stone-js/aws-apigw-ws-adapter'

      @ApiGatewayWs()
      @StoneApp({ name: 'app' })
      export class Application {}