Type Alias WsApiMessageReceiptHandler<ResponseCommandsT, QueryT>

WsApiMessageReceiptHandler<ResponseCommandsT, QueryT>: ((args: {
    connectionId: string;
    express: {
        next: NextFunction;
        req: Request;
        ws: WebSocket;
    };
    message: WebSocket.Data;
    output: WsApiResponders<ResponseCommandsT>;
    query: QueryT;
}) => Promise<void>)

Type Parameters

  • ResponseCommandsT extends AnyCommands
  • QueryT extends AnyQuery