Function: makeServer()
makeServer<
P
,E
>(options
):Server
<E
>
Defined in: src/server.ts:552
Makes a Protocol compliant WebSocket GraphQL server. The server is actually an API which is to be used with your favourite WebSocket server library!
Read more about the GraphQL over WebSocket Protocol.
Type Parameters
• P extends undefined
| Record
<string
, unknown
> = undefined
| Record
<string
, unknown
>
• E = unknown
Parameters
options
ServerOptions
<P
, E
>
Returns
Server
<E
>