Class HttpConfigurationBuilder
Inheritance
HttpConfigurationBuilder
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class HttpConfigurationBuilder : IComponentConfigurer<HttpConfiguration>, IDiagnosticDescription
Constructors
HttpConfigurationBuilder()
Declaration
public HttpConfigurationBuilder()
Fields
DefaultConnectTimeout
Declaration
public static readonly TimeSpan DefaultConnectTimeout
Field Value
DefaultReadTimeout
Declaration
public static readonly TimeSpan DefaultReadTimeout
Field Value
DefaultResponseStartTimeout
Declaration
public static readonly TimeSpan DefaultResponseStartTimeout
Field Value
Methods
Build(LdClientContext)
Declaration
public HttpConfiguration Build(LdClientContext context)
Parameters
Returns
ConnectTimeout(TimeSpan)
Declaration
public HttpConfigurationBuilder ConnectTimeout(TimeSpan connectTimeout)
Parameters
Type |
Name |
Description |
TimeSpan |
connectTimeout |
|
Returns
Declaration
public HttpConfigurationBuilder CustomHeader(string name, string value)
Parameters
Returns
DescribeConfiguration(LdClientContext)
Declaration
public LdValue DescribeConfiguration(LdClientContext context)
Parameters
Returns
MessageHandler(HttpMessageHandler)
Declaration
public HttpConfigurationBuilder MessageHandler(HttpMessageHandler messageHandler)
Parameters
Returns
Proxy(IWebProxy)
Declaration
public HttpConfigurationBuilder Proxy(IWebProxy proxy)
Parameters
Returns
ReadTimeout(TimeSpan)
Declaration
public HttpConfigurationBuilder ReadTimeout(TimeSpan readTimeout)
Parameters
Type |
Name |
Description |
TimeSpan |
readTimeout |
|
Returns
ResponseStartTimeout(TimeSpan)
Declaration
public HttpConfigurationBuilder ResponseStartTimeout(TimeSpan responseStartTimeout)
Parameters
Type |
Name |
Description |
TimeSpan |
responseStartTimeout |
|
Returns
Wrapper(string, string)
Declaration
public HttpConfigurationBuilder Wrapper(string wrapperName, string wrapperVersion)
Parameters
Type |
Name |
Description |
string |
wrapperName |
|
string |
wrapperVersion |
|
Returns
Implements