UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

32 lines (21 loc) 977 B
--- lang: en title: 'API docs: graphql.graphqlserver._constructor_' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/graphql permalink: /doc/en/lb4/apidocs.graphql.graphqlserver._constructor_.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/graphql](./graphql.md) &gt; [GraphQLServer](./graphql.graphqlserver.md) &gt; [(constructor)](./graphql.graphqlserver._constructor_.md) ## GraphQLServer.(constructor) Constructs a new instance of the `GraphQLServer` class <b>Signature:</b> ```typescript constructor(options?: GraphQLServerOptions, parent?: Context); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | options | [GraphQLServerOptions](./graphql.graphqlserveroptions.md) | | | parent | [Context](./context.context.md) | |