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
EnableBatching
Defines if request batching is enabled.
public bool EnableBatching { get; set; }
Property Value
EnableGetRequests
Defines if GraphQL HTTP GET requests are allowed.
public bool EnableGetRequests { get; set; }
Property Value
EnableMultipartRequests
Defines if GraphQL HTTP Multipart requests are allowed.
public bool EnableMultipartRequests { get; set; }
Property Value
EnableSchemaRequests
Defines if the GraphQL schema SDL can be downloaded.
public bool EnableSchemaRequests { get; set; }
Property Value
EnforceGetRequestsPreflightHeader
Defines if GraphQL HTTP GET requests are allowed.
public bool EnforceGetRequestsPreflightHeader { get; set; }
Property Value
EnforceMultipartRequestsPreflightHeader
Defines if preflight headers are enforced for multipart requests.
public bool EnforceMultipartRequestsPreflightHeader { get; set; }
Property Value
Sockets
Gets the GraphQL socket options.
public GraphQLSocketOptions Sockets { get; }
Property Value
Tool
Gets the GraphQL tool options for Banana Cake Pop.
public GraphQLToolOptions Tool { get; }