IGraphQLHttpRequest Interface
Represents an HTTP request.
Remarks
This interface abstracts any HTTP request information, making all GraphQL HTTP processing decoupled from the underlying HTTP framework. You can create your own implementation of this interface to include custom support for additional HTTP libraries you might use.
Syntax
Unit: GraphQL.Http.Interfaces
IGraphQLHttpRequest = interface(IInterface);
Methods
Name | Description |
---|---|
GetMethod | Returns the HTTP method of the request. Must be upper case. |
GetHeader | Returns the value of the specified HTTP header. |
GetContent | Returns the raw request body of the request. |
GetUrl | Returns the full requested URL. |