HttpClientAsyncAliases.

HttpDeleteAsync(ICakeContext, string) Method

Summary

DELETE the specified resource over HTTP/HTTPS.
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpClientAsyncAliases

Syntax

public static Task HttpDeleteAsync(this ICakeContext context, string address)

Examples

HttpDelete("https://www.google.com/1");

Attributes

Type Description
AsyncStateMachineAttribute
CakeAliasCategoryAttribute
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
address string The URL of the resource to DELETE.

Return Value

Type Description
Task