IGraphQLHttpResponse.Close Method
Sets the response body and sends the response.
Remarks
This method should set the raw response body and immediately send the response to the client. After this method call, this interface will not be used anymore and don't need to be in a valid state.
Syntax
Unit: GraphQL.Http.Interfaces
procedure IGraphQLHttpResponse.Close(const Value: TArray<Byte>); virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | Value | TArray<Byte> | The response body to be sent to the client. Can be nil or empty. |