Table of Contents

Class CloudFoundryCurlSettingsExtensions

Namespace
Nuke.Common.Tools.CloudFoundry
Assembly
Nuke.Common.dll

Used within CloudFoundryTasks.

public static class CloudFoundryCurlSettingsExtensions
Inheritance
CloudFoundryCurlSettingsExtensions
Inherited Members

Methods

DisableIncludeResponseHeaders<T>(T)

Disables IncludeResponseHeaders

Include response headers in the output

public static T DisableIncludeResponseHeaders<T>(this T toolSettings) where T : CloudFoundryCurlSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

EnableIncludeResponseHeaders<T>(T)

Enables IncludeResponseHeaders

Include response headers in the output

public static T EnableIncludeResponseHeaders<T>(this T toolSettings) where T : CloudFoundryCurlSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetHttpData<T>(T)

Resets HttpData

HTTP method (GET,POST,PUT,DELETE,etc). Default is GET

public static T ResetHttpData<T>(this T toolSettings) where T : CloudFoundryCurlSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetHttpMethod<T>(T)

Resets HttpMethod

HTTP method (GET,POST,PUT,DELETE,etc). Default is GET

public static T ResetHttpMethod<T>(this T toolSettings) where T : CloudFoundryCurlSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetIncludeResponseHeaders<T>(T)

Resets IncludeResponseHeaders

Include response headers in the output

public static T ResetIncludeResponseHeaders<T>(this T toolSettings) where T : CloudFoundryCurlSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetPath<T>(T)

Resets Path

CAPI Path to invoke (ex. /v2/info)

public static T ResetPath<T>(this T toolSettings) where T : CloudFoundryCurlSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

SetHttpData<T>(T, string)

Sets HttpData

HTTP method (GET,POST,PUT,DELETE,etc). Default is GET

public static T SetHttpData<T>(this T toolSettings, string httpData) where T : CloudFoundryCurlSettings

Parameters

toolSettings T
httpData string

Returns

T

Type Parameters

T

SetHttpMethod<T>(T, string)

Sets HttpMethod

HTTP method (GET,POST,PUT,DELETE,etc). Default is GET

public static T SetHttpMethod<T>(this T toolSettings, string httpMethod) where T : CloudFoundryCurlSettings

Parameters

toolSettings T
httpMethod string

Returns

T

Type Parameters

T

SetIncludeResponseHeaders<T>(T, bool?)

Sets IncludeResponseHeaders

Include response headers in the output

public static T SetIncludeResponseHeaders<T>(this T toolSettings, bool? includeResponseHeaders) where T : CloudFoundryCurlSettings

Parameters

toolSettings T
includeResponseHeaders bool?

Returns

T

Type Parameters

T

SetPath<T>(T, string)

Sets Path

CAPI Path to invoke (ex. /v2/info)

public static T SetPath<T>(this T toolSettings, string path) where T : CloudFoundryCurlSettings

Parameters

toolSettings T
path string

Returns

T

Type Parameters

T

ToggleIncludeResponseHeaders<T>(T)

Toggles IncludeResponseHeaders

Include response headers in the output

public static T ToggleIncludeResponseHeaders<T>(this T toolSettings) where T : CloudFoundryCurlSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T