Summary
Contains functionality related to HTTP operations.
- Namespace
- Cake
.Common .Net - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["HttpAliases"]
class Type type-node
Syntax
[CakeAliasCategory("HTTP Operations")]
public static class HttpAliases
Attributes
| Type | Description |
|---|---|
| Cake |
An attribute used for documentation of alias methods/properties. |
Methods
| Name | Value | Summary |
|---|---|---|
| DownloadFile |
FilePath |
Downloads the specified resource over HTTP to a temporary file with specified settings.
static
|
| DownloadFile |
void |
Downloads the specified resource over HTTP to the specified output path and settings.
static
|
| DownloadFile |
void |
Downloads the specified resource over HTTP to the specified output path.
static
|
| DownloadFile |
FilePath |
Downloads the specified resource over HTTP to a temporary file.
static
|
| DownloadFile |
FilePath |
Downloads the specified resource over HTTP to a temporary file with specified settings.
static
|
| DownloadFile |
void |
Downloads the specified resource over HTTP to the specified output path.
static
|
| DownloadFile |
FilePath |
Downloads the specified resource over HTTP to a temporary file.
static
|
| UploadFile |
void |
Uploads the specified byte array via a HTTP POST to the specified uri using multipart/form-data.
static
|
| UploadFile |
void |
Uploads the specified file via a HTTP POST to the specified uri using multipart/form-data.
static
|
| UploadFile |
void |
Uploads the specified byte array via a HTTP POST to the specified uri using multipart/form-data.
static
|
| UploadFile |
void |
Uploads the specified file via a HTTP POST to the specified uri using multipart/form-data.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
