Class HttpConfiguration
Inheritance
HttpConfiguration
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class HttpConfiguration
Constructors
HttpConfiguration(TimeSpan, IEnumerable<KeyValuePair<string, string>>, HttpMessageHandler, IWebProxy, TimeSpan)
Declaration
public HttpConfiguration(TimeSpan connectTimeout, IEnumerable<KeyValuePair<string, string>> defaultHeaders, HttpMessageHandler messageHandler, IWebProxy proxy, TimeSpan readTimeout)
Parameters
HttpConfiguration(TimeSpan, IEnumerable<KeyValuePair<string, string>>, HttpMessageHandler, IWebProxy, TimeSpan, TimeSpan)
Declaration
public HttpConfiguration(TimeSpan connectTimeout, IEnumerable<KeyValuePair<string, string>> defaultHeaders, HttpMessageHandler messageHandler, IWebProxy proxy, TimeSpan readTimeout, TimeSpan responseStartTimeout)
Parameters
Properties
ConnectTimeout
Declaration
public TimeSpan ConnectTimeout { get; }
Property Value
Declaration
public IEnumerable<KeyValuePair<string, string>> DefaultHeaders { get; }
Property Value
MessageHandler
Declaration
public HttpMessageHandler MessageHandler { get; }
Property Value
Proxy
Declaration
public IWebProxy Proxy { get; }
Property Value
ReadTimeout
Declaration
public TimeSpan ReadTimeout { get; }
Property Value
ResponseStartTimeout
Declaration
public TimeSpan ResponseStartTimeout { get; }
Property Value
Methods
NewHttpClient()
Declaration
public HttpClient NewHttpClient()
Returns