0.3.1 • Published 4 months ago

@graphql-ez/plugin-sse v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@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

0.3.1

4 months ago

0.3.0

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago