newHttpClient
Creates a new HttpClient configured with HttpTimeout support.
Return
a new HttpClient instance
Parameters
expectSuccess
if true, non-2xx responses will throw exceptions
Creates a new HttpClient configured with HttpTimeout support.
a new HttpClient instance
if true, non-2xx responses will throw exceptions