## Functions

| Function | Description |
|---|---|
| [initGraphqlServer(opts)](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.dataconnect.graphql#dataconnectgraphqlinitgraphqlserver) |   |
| [onGraphRequest(opts)](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.dataconnect.graphql#dataconnectgraphqlongraphrequest) | Handles HTTPS GraphQL requests. |

## Interfaces

| Interface | Description |
|---|---|
| [FirebaseContext](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.dataconnect.graphql.firebasecontext#dataconnectgraphqlfirebasecontext_interface) | Per-request context state shared by all resolvers in a particular query. |
| [GraphqlResolvers](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.dataconnect.graphql.graphqlresolvers#dataconnectgraphqlgraphqlresolvers_interface) | Resolver functions that populate data for individual GraphQL schema fields. |
| [GraphqlServerOptions](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.dataconnect.graphql.graphqlserveroptions#dataconnectgraphqlgraphqlserveroptions_interface) | Options for configuring the GraphQL server. |

## dataconnect.graphql.initGraphqlServer()

**Signature:**

    export declare function initGraphqlServer(opts: GraphqlServerOptions): Promise<express.Express>;

### Parameters

| Parameter | Type | Description |
|---|---|---|
| opts | [GraphqlServerOptions](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.dataconnect.graphql.graphqlserveroptions#dataconnectgraphqlgraphqlserveroptions_interface) |   |

**Returns:**

Promise\<express.Express\>

## dataconnect.graphql.onGraphRequest()

Handles HTTPS GraphQL requests.

**Signature:**

    export declare function onGraphRequest(opts: GraphqlServerOptions): HttpsFunction;

### Parameters

| Parameter | Type | Description |
|---|---|---|
| opts | [GraphqlServerOptions](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.dataconnect.graphql.graphqlserveroptions#dataconnectgraphqlgraphqlserveroptions_interface) | Options for configuring the GraphQL server. |

**Returns:**

[HttpsFunction](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.https#httpshttpsfunction)

{HttpsFunction} A function you can export and deploy.