Class GraphQLToolOptions
- Namespace
- HotChocolate.AspNetCore
- Assembly
- HotChocolate.AspNetCore.dll
Represents the GraphQL tool options for Banana Cake Pop.
public sealed class GraphQLToolOptions
- Inheritance
-
GraphQLToolOptions
- Inherited Members
Constructors
GraphQLToolOptions()
public GraphQLToolOptions()
Properties
DisableTelemetry
Specifies if the application telemetry events are disabled.
public bool? DisableTelemetry { get; set; }
Property Value
- bool?
Document
Gets or sets the default document content.
public string? Document { get; set; }
Property Value
Enable
Defines if Banana Cake Pop is enabled.
public bool Enable { get; set; }
Property Value
GaTrackingId
Specifies the Google analytics tracking ID for Banana Cake Pop.
public string? GaTrackingId { get; set; }
Property Value
GraphQLEndpoint
Gets or sets the GraphQL endpoint.
If UseBrowserUrlAsGraphQLEndpoint is set to true
the
GraphQL endpoint must be a relative path; otherwise, it must be an absolute URL.
public string? GraphQLEndpoint { get; set; }
Property Value
HttpHeaders
Gets or sets the default http headers for Banana Cake Pop.
public IHeaderDictionary? HttpHeaders { get; set; }
Property Value
HttpMethod
Gets or sets the default
public DefaultHttpMethod? HttpMethod { get; set; }
Property Value
IncludeCookies
Defines if cookies shall be included into the HTTP call to the GraphQL backend.
public bool? IncludeCookies { get; set; }
Property Value
- bool?
ServeMode
public GraphQLToolServeMode ServeMode { get; set; }
Property Value
Title
Gets or sets the website title.
public string? Title { get; set; }
Property Value
UseBrowserUrlAsGraphQLEndpoint
Defines that the schema endpoint URL shall be inferred from the browser URL.
public bool UseBrowserUrlAsGraphQLEndpoint { get; set; }