HTTP Operations

Summary

Contains functionality related to HTTP operations

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.

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.