TsgcHTTP2Client › Methods › DeleteAsync
Sends a non-blocking HTTP/2 DELETE; the server reply is delivered on OnHTTP2Response.
procedure DeleteAsync(const aURL: string);
| Name | Type | Description |
|---|---|---|
aURL | const string | Absolute URL of the resource to delete on the server. |
Non-blocking variant of Delete. Returns immediately after scheduling the HEADERS frame; the outcome (usually 204 No Content) is reported asynchronously through OnHTTP2Response. Ideal when removing many resources in parallel over the same multiplexed session.
oClient.OnHTTP2Response := OnHTTP2ResponseEvent;
oClient.DeleteAsync('https://api.example.com/users/42');