Search Results for

    Show / Hide Table of Contents

    TGraphQLHttpOptions.PlaygroundEnabled Property

    Enables the GraphQL Playground to be provided at the server root URL.

    Remarks

    GraphQL Playground is a web-based GraphQL IDE for interacting with the GraphQL server. More information can be found here: https://github.com/graphql/graphql-playground. When this property is enabled, the GraphQL server might return the GraphQL Playground if the browser performs a GET request to the server root URL. The server will decide if the Playground will be returned or a regular GraphQL query request will be processed based on the Accept request header. If the Accept header contains the text/html MIME type (usually sent by browsers), then a GET request t othe root URL will return the Playground.

    Syntax

    Unit: GraphQL.Http.Handler

    property TGraphQLHttpOptions.PlaygroundEnabled: Boolean

    See also

    • TGraphQLHttpOptions
    In This Article
    Back to top GraphQL for Delphi v1.4
    © 2021 - 2024 tmssoftware.com