Search Results for

    Show / Hide Table of Contents

    TGraphQLHttpHandler.Create Constructor

    Creates the TGraphQLHttpHandler instante from the initial required parameters.

    Syntax

    Unit: GraphQL.Http.Handler

    constructor TGraphQLHttpHandler.Create(ARequest: IGraphQLHttpRequest; AResponse: IGraphQLHttpResponse; ASchema: TSchemaDocument; AOptions: TGraphQLHttpOptions = nil);

    Parameters

    <-> Parameter Type Description
    ARequest IGraphQLHttpRequest The HTTP request that will be examined and processed.
    AResponse IGraphQLHttpResponse The HTTP response that will be filled by the handler and returned to the client.
    ASchema TSchemaDocument The GraphQL schema used to process the request.
    AOptions TGraphQLHttpOptions Optional: Default value is nil

    Optional parameter containing some options to customize the request processing.
    Can be nil. In this case, the default options will be used.

    See also

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