HttpClientAliases.

HttpSend(ICakeContext, HttpRequestMessage) Method

Summary

Sends the HTTP Request using the generic HttpClient Send Method using the HttpRequestMessage Object
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpClientAliases

Syntax

public static HttpResponseMessage HttpSend(this ICakeContext context, HttpRequestMessage request)

Attributes

Type Description
CakeAliasCategoryAttribute
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
request HttpRequestMessage Raw HttpRequest Message with full access to underlying request object.

Return Value

Type Description
HttpResponseMessage HttpResponseMessage