Table of Contents

THttpClient.Send Method

Sends the specified request and returns the response.

Remarks

Raises the OnSendingRequest event before sending and OnResponseReceived after receiving the response. Requests whose URI scheme is local are handled by the in-process engine.

Syntax

Unit: Sparkle.Http.Client

function THttpClient.Send(Request: THttpRequest): THttpResponse;

Parameters

<-> Parameter Type Description
Request THttpRequest The request to send.

Returns

The THttpResponse received; the caller owns and must free it.

See also