Class WSMessageParser<WSCommand>

Type Parameters

  • WSCommand

Hierarchy

  • WSMessageParser

Constructors

Methods

Constructors

  • Type Parameters

    • WSCommand

    Parameters

    • parse: ((json: any) => WSCommand)
        • (json: any): WSCommand
        • Parameters

          • json: any

          Returns WSCommand

    Returns WSMessageParser<WSCommand>

Methods

  • Returns

    ParseResult

    Parameters

    • message: string

    Returns ParseResult<WSCommand>

Generated using TypeDoc