Docs

GraphQL EZ

Get Started

Plugin Hub > GraphQL over Server-Sent Events

npm version
yarn add @graphql-ez/plugin-sse

@graphql-ez/plugin-sse#

Integration with graphql-sse - GraphQL over Server-Sent Events Protocol

Compatibility#

This plugins supports:

Options#

Check HandlerOptions graphql-sse docs for some information, from there, you can ignore 'execute', 'subscribe', 'validate', 'onSubscribe', 'schema' and 'context'

Usage#

import { ezSSE } from '@graphql-ez/plugin-sse'; const ezApp = CreateApp({ ez: { plugins: [ ezSSE({ options: { // ... }, // "/graphql/stream" is the default path: '/graphql/stream', }), // ... ], }, // ... });

Credits#

Thanks to @enisdenjo for working on this awesome library and protocol

Plugin Details

Identifier
@graphql-ez/plugin-sse
License
MIT
Version
0.3.1
Updated
Jan 4th, 2024