HTTP Operations

Summary

Contains functionality related to HTTP operations

Delete

HttpDelete(ICakeContext, string) DELETE the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpDelete(ICakeContext, string, Action<HttpSettings>) DELETE the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpDelete(ICakeContext, string, HttpSettings) DELETE the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll

Download

DownloadFile(ICakeContext, string) Downloads the specified resource over HTTP to a temporary file.
DownloadFile(ICakeContext, string, DownloadFileSettings) Downloads the specified resource over HTTP to a temporary file with specified settings.
DownloadFile(ICakeContext, string, FilePath) Downloads the specified resource over HTTP to the specified output path.
DownloadFile(ICakeContext, string, FilePath, DownloadFileSettings) Downloads the specified resource over HTTP to the specified output path and settings.
DownloadFile(ICakeContext, Uri) Downloads the specified resource over HTTP to a temporary file.
DownloadFile(ICakeContext, Uri, DownloadFileSettings) Downloads the specified resource over HTTP to a temporary file with specified settings.
DownloadFile(ICakeContext, Uri, FilePath, DownloadFileSettings) Downloads the specified resource over HTTP to the specified output path.

Get

HttpGet(ICakeContext, string) GETS the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpGet(ICakeContext, string, Action<HttpSettings>) GETS the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpGet(ICakeContext, string, HttpSettings) GETS the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpGetAsByteArray(ICakeContext, string, HttpSettings) GETS the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll

Patch

HttpPatch(ICakeContext, string) PATCH the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPatch(ICakeContext, string, Action<HttpSettings>) PATCH the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPatch(ICakeContext, string, HttpSettings) PATCH the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPatchAsByteArray(ICakeContext, string, HttpSettings) PATCH the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll

Post

HttpPost(ICakeContext, string) POST the specified resource over HTTP.
Addin from Cake.Http.dll
HttpPost(ICakeContext, string, Action<HttpSettings>) POST the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPost(ICakeContext, string, HttpSettings) POST the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPostAsByteArray(ICakeContext, string, HttpSettings) POST the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll

Put

HttpPut(ICakeContext, string) PUT the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPut(ICakeContext, string, Action<HttpSettings>) PUT the specified resource over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPut(ICakeContext, string, HttpSettings) PUT the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll
HttpPutAsByteArray(ICakeContext, string, HttpSettings) PUT the specified resource over over HTTP/HTTPS.
Addin from Cake.Http.dll

Send

HttpSend(ICakeContext, string, string) Sends the HTTP Request using the generic HttpClient Send Method.
Addin from Cake.Http.dll
HttpSend(ICakeContext, string, string, Action<HttpSettings>) Sends the HTTP Request using the generic HttpClient Send Method.
Addin from Cake.Http.dll
HttpSend(ICakeContext, string, string, HttpSettings) Sends the HTTP Request using the generic HttpClient Send Method.
Addin from Cake.Http.dll
HttpSendAsByteArray(ICakeContext, string, string, HttpSettings) Sends the HTTP Request using the generic HttpClient Send Method.
Addin from Cake.Http.dll

Upload

UploadFile(ICakeContext, string, byte[], string) Uploads the specified byte array via a HTTP POST to the specified uri using multipart/form-data.
UploadFile(ICakeContext, string, FilePath) Uploads the specified file via a HTTP POST to the specified uri using multipart/form-data.
UploadFile(ICakeContext, Uri, byte[], string) Uploads the specified byte array via a HTTP POST to the specified uri using multipart/form-data.
UploadFile(ICakeContext, Uri, FilePath) Uploads the specified file via a HTTP POST to the specified uri using multipart/form-data.