Class GraphQLClientWebSocket

Constructors

Properties

Methods

  • Parameters

    • code: number
    • reason: string

    Returns Error & {
        code: number;
    }

  • Type Parameters

    • TData

    Parameters

    • payload: {
          operationName?: null | string;
          query: string;
          variables?: null | Record<string, unknown>;
      }
      • OptionaloperationName?: null | string
      • query: string
      • Optionalvariables?: null | Record<string, unknown>

    Returns AsyncPushIterator<ExecutionResult<TData, ObjMap<unknown>>>