TsgcHTTP2Client › Methods › TraceAsync
Sends a non-blocking HTTP/2 TRACE request; the echoed payload arrives on OnHTTP2Response.
procedure TraceAsync(const aURL: string);
| Name | Type | Description |
|---|---|---|
aURL | const string | Absolute URL to target. The request headers seen by the origin server (after traversing any proxies) will be echoed back. |
Non-blocking variant of Trace. Useful when several TRACE probes are fired against different endpoints without blocking the caller; each reply surfaces through OnHTTP2Response. Remember that many servers reject TRACE for security reasons.
oClient.OnHTTP2Response := OnHTTP2ResponseEvent;
oClient.TraceAsync('https://api.example.com/diag');