Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
API Reference
Enums
SubscriptionProtocol

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:57


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:49


SSE

SSE = "SSE"

Use SSE for subscription instead of WebSocket

Defined in

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


WS

WS = "WS"

Defined in

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