This initializer relies on ConfigurableHttpClient for validation.
That means that httpClientTimeout is not validated in this constructor.
It's when this initializer is applied to a ConfigurableHttpClient
that the value will be validated and an exception possibly thrown.
Properties
HttpClientTimeout
public TimeSpan HttpClientTimeout { get; }
The timeout to set on ConfigurableHttpClient instances on which this initializer is applied.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eHttpTimeoutInitializer\u003c/code\u003e class is used to specify a custom timeout for a \u003ccode\u003eConfigurableHttpClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIConfigurableHttpClientInitializer\u003c/code\u003e and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt is instantiated with a \u003ccode\u003eTimeSpan\u003c/code\u003e value representing the desired HTTP client timeout which is not validated until it is applied to the \u003ccode\u003eConfigurableHttpClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpClientTimeout\u003c/code\u003e property retrieves the timeout value that will be set on \u003ccode\u003eConfigurableHttpClient\u003c/code\u003e instances.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInitialize\u003c/code\u003e method is used to initialize an HTTP client after it has been created, with the \u003ccode\u003eConfigurableHttpClient\u003c/code\u003e as the parameter.\u003c/p\u003e\n"]]],[],null,[]]