AuthenticatedHttpClientHandler Class

Summary

The default message handler used by AppVeyorClient.
Assembly
Cake.AppVeyor.dll
Namespace
Cake.AppVeyor
Base Types
  • HttpClientHandler
graph BT Type-->Base0["HttpClientHandler"] Type["AuthenticatedHttpClientHandler"] class Type type-node

Syntax

public class AuthenticatedHttpClientHandler : HttpClientHandler

Constructors

Name Summary
AuthenticatedHttpClientHandler(string) Initializes a new instance of the AuthenticatedHttpClientHandler class.

Properties

Name Value Summary
AuthToken string
Gets or sets the API Key used to communicate with AppVeyor.

Methods

Name Value Summary
SendAsync(HttpRequestMessage, CancellationToken) Task<HttpResponseMessage>
Sends a message, asynchronously, to AppVeyor.

Extension Methods

Name Value Summary
Dump<AuthenticatedHttpClientHandler>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AuthenticatedHttpClientHandler>(AuthenticatedHttpClientHandler[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AuthenticatedHttpClientHandler>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AuthenticatedHttpClientHandler>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<AuthenticatedHttpClientHandler>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AuthenticatedHttpClientHandler>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin