HttpSettingsExtensions.

SetTimeout(HttpSettings, TimeSpan) Method

Summary

Sets the timeout for the http request
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpSettingsExtensions

Syntax

public static HttpSettings SetTimeout(this HttpSettings settings, TimeSpan timeout)

Parameters

Name Type Description
settings HttpSettings The settings.
timeout TimeSpan Timeout to set in the http request

Return Value

Type Description
HttpSettings