Documentation
Common
Functions
validateMessage

Function: validateMessage()

validateMessage(val): Message

Defined in: src/common.ts:232

Validates the message against the GraphQL over WebSocket Protocol.

Invalid messages will throw descriptive errors.

Parameters

val

unknown

Returns

Message