RestAliases Class

Summary

Aliases for simplifying usage of RestSharp in Cake
Assembly
Cake.Rest.dll
Namespace
Cake.Rest
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["RestAliases"] class Type type-node

Syntax

public static class RestAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
Rest(ICakeContext, string, Uri, Action<Stream, IHttpResponse>) IRestResponse
Sends a REST request with empty body, and receives its response.
static
Rest(ICakeContext, string, Uri, Action<Stream>) IRestResponse
Sends a REST request with empty body, and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, Action<Stream, IHttpResponse>) IRestResponse
Sends a REST request with empty body, and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, Action<Stream>) IRestResponse
Sends a REST request with empty body, and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, BodyType, string, Action<Stream, IHttpResponse>) IRestResponse
Sends a REST request and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, BodyType, string, Action<Stream>) IRestResponse
Sends a REST request and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, BodyType, string) IRestResponse
Sends a REST request and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, string, string, Stream, Action<Stream, IHttpResponse>) IRestResponse
Sends a REST request and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, string, string, Stream, Action<Stream>) IRestResponse
Sends a REST request and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>, string, string, Stream) IRestResponse
Sends a REST request and receives its response.
static
Rest(ICakeContext, string, Uri, IDictionary<string, string>) IRestResponse
Send a REST request with empty body, and receive its response.
static

Extension Methods

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