• Preparing search index...
  • The search index is not available
zibri
  • zibri
  • websocket/decorators/websocket-body.decorator
  • WebsocketBody

Function WebsocketBody

  • WebsocketBody(
        modelClass: Newable<unknown>,
        options?: WebsocketBodyMetadataInput,
    ): ParameterDecorator

    Defines a websocket request body property with the given data.

    Parameters

    • modelClass: Newable<unknown>

      The model class that defines the websocket request body properties structure.

    • options: WebsocketBodyMetadataInput = {}

      Additional options, eg. If it's required etc.

    Returns ParameterDecorator

    • Defined in src/websocket/decorators/websocket-body.decorator.ts:25

Settings

Member Visibility
zibri
  • Loading...

Generated using TypeDoc