HttpClientAsyncAliases Class

Summary

Contains functionality for working with HTTP operations such as GET, PUT, POST, DELETE, PATCH, etc.

Assembly
Cake.Http.dll
Namespace
Cake.Http
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["HttpClientAsyncAliases"] class Type type-node

Syntax

public static class HttpClientAsyncAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
HttpDeleteAsync(ICakeContext, string, Action<HttpSettings>) Task
DELETE the specified resource over HTTP/HTTPS.
static
HttpDeleteAsync(ICakeContext, string, HttpSettings) Task
DELETE the specified resource over over HTTP/HTTPS.
static
HttpDeleteAsync(ICakeContext, string) Task
DELETE the specified resource over HTTP/HTTPS.
static
HttpGetAsByteArrayAsync(ICakeContext, string, HttpSettings) Task<byte[]>
GETS the specified resource over HTTP/HTTPS.
static
HttpGetAsync(ICakeContext, string, Action<HttpSettings>) Task<string>
GETS the specified resource over over HTTP/HTTPS.
static
HttpGetAsync(ICakeContext, string, HttpSettings) Task<string>
GETS the specified resource over HTTP/HTTPS.
static
HttpGetAsync(ICakeContext, string) Task<string>
GETS the specified resource over over HTTP/HTTPS.
static
HttpPatchAsByteArrayAsync(ICakeContext, string, HttpSettings) Task<byte[]>
PATCH the specified resource over over HTTP/HTTPS.
static
HttpPatchAsync(ICakeContext, string, Action<HttpSettings>) Task<string>
PATCH the specified resource over HTTP/HTTPS.
static
HttpPatchAsync(ICakeContext, string, HttpSettings) Task<string>
PATCH the specified resource over over HTTP/HTTPS.
static
HttpPatchAsync(ICakeContext, string) Task<string>
PATCH the specified resource over HTTP/HTTPS.
static
HttpPostAsByteArrayAsync(ICakeContext, string, HttpSettings) Task<byte[]>
POST the specified resource over over HTTP/HTTPS.
static
HttpPostAsync(ICakeContext, string, Action<HttpSettings>) Task<string>
POST the specified resource over HTTP/HTTPS.
static
HttpPostAsync(ICakeContext, string, HttpSettings) Task<string>
POST the specified resource over over HTTP/HTTPS.
static
HttpPostAsync(ICakeContext, string) Task<string>
POST the specified resource over HTTP.
static
HttpPutAsByteArrayAsync(ICakeContext, string, HttpSettings) Task<byte[]>
PUT the specified resource over over HTTP/HTTPS.
static
HttpPutAsync(ICakeContext, string, Action<HttpSettings>) Task<string>
PUT the specified resource over HTTP/HTTPS.
static
HttpPutAsync(ICakeContext, string, HttpSettings) Task<string>
PUT the specified resource over over HTTP/HTTPS.
static
HttpPutAsync(ICakeContext, string) Task<string>
PUT the specified resource over HTTP/HTTPS.
static
HttpSendAsByteArrayAsync(ICakeContext, string, string, HttpSettings) Task<byte[]>
Sends the HTTP Request using the generic HttpClient Send Method.
static
HttpSendAsync(ICakeContext, HttpRequestMessage) Task<HttpResponseMessage>
Sends the HTTP Request using the generic HttpClient Send Method using the HttpRequestMessage Object
static
HttpSendAsync(ICakeContext, string, string, Action<HttpSettings>) Task<string>
Sends the HTTP Request using the generic HttpClient Send Method.
static
HttpSendAsync(ICakeContext, string, string, HttpSettings) Task<string>
Sends the HTTP Request using the generic HttpClient Send Method.
static
HttpSendAsync(ICakeContext, string, string) Task<string>
Sends the HTTP Request using the generic HttpClient Send Method.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin