Table of Contents

Class GraphQLServerOptions

Namespace
HotChocolate.AspNetCore
Assembly
HotChocolate.AspNetCore.dll

Represents the GraphQL server options.

public sealed class GraphQLServerOptions
Inheritance
GraphQLServerOptions
Inherited Members

Constructors

GraphQLServerOptions()

public GraphQLServerOptions()

Properties

AllowedGetOperations

Gets or sets which GraphQL options are allowed on GET requests.

public AllowedGetOperations AllowedGetOperations { get; set; }

Property Value

AllowedGetOperations

EnableBatching

Defines if request batching is enabled.

public bool EnableBatching { get; set; }

Property Value

bool

EnableGetRequests

Defines if GraphQL HTTP GET requests are allowed.

public bool EnableGetRequests { get; set; }

Property Value

bool

EnableMultipartRequests

Defines if GraphQL HTTP Multipart requests are allowed.

public bool EnableMultipartRequests { get; set; }

Property Value

bool

EnableSchemaRequests

Defines if the GraphQL schema SDL can be downloaded.

public bool EnableSchemaRequests { get; set; }

Property Value

bool

EnforceGetRequestsPreflightHeader

Defines if GraphQL HTTP GET requests are allowed.

public bool EnforceGetRequestsPreflightHeader { get; set; }

Property Value

bool

EnforceMultipartRequestsPreflightHeader

Defines if preflight headers are enforced for multipart requests.

public bool EnforceMultipartRequestsPreflightHeader { get; set; }

Property Value

bool

Sockets

Gets the GraphQL socket options.

public GraphQLSocketOptions Sockets { get; }

Property Value

GraphQLSocketOptions

Tool

Gets the GraphQL tool options for Banana Cake Pop.

public GraphQLToolOptions Tool { get; }

Property Value

GraphQLToolOptions