O11yHTTPClientConfig constructor
O11yHTTPClientConfig({
- O11yAuthorization? authorization,
- O11yBasicAuth? basicAuth,
- Object? bearerToken,
- String? bearerTokenFile,
- bool? enableHttp2,
- bool? followRedirects,
- Object? httpHeaders,
- String? noProxy,
- O11yOAuth2? oauth2,
- Map<
String, List< proxyConnectHeader = const {},Object> > - bool? proxyFromEnvironment,
- Object? proxyUrl,
- O11yTLSConfig? tlsConfig,
Returns a new O11yHTTPClientConfig instance.
Implementation
O11yHTTPClientConfig({
this.authorization,
this.basicAuth,
this.bearerToken,
this.bearerTokenFile,
this.enableHttp2,
this.followRedirects,
this.httpHeaders,
this.noProxy,
this.oauth2,
this.proxyConnectHeader = const {},
this.proxyFromEnvironment,
this.proxyUrl,
this.tlsConfig,
});