graphql-tools-monorepo / loaders/url/src / SubscriptionProtocol

Enumeration: SubscriptionProtocol

loaders/url/src.SubscriptionProtocol

Table of contents

Enumeration Members

Enumeration Members

GRAPHQL_SSE

GRAPHQL_SSE = "GRAPHQL_SSE"

Use graphql-sse for subscriptions

Defined in

packages/loaders/url/src/index.ts:58


LEGACY_WS

LEGACY_WS = "LEGACY_WS"

Use legacy web socket protocol graphql-ws instead of the more current standard graphql-transport-ws

Defined in

packages/loaders/url/src/index.ts:50


SSE

SSE = "SSE"

Use SSE for subscription instead of WebSocket

Defined in

packages/loaders/url/src/index.ts:54


WS

WS = "WS"

Defined in

packages/loaders/url/src/index.ts:46