HttpHandler constructor
HttpHandler(
- HttpRequestType requestType,
- Uri endpointUri, {
- Map<
String, dynamic> ? headers, - int requestTimeout = 5000,
- int responseTimeout = 5000,
- bool printLogs = false,
- bool enableDeviceParameters = true,
- bool enableApplicationParameters = true,
- bool enableStackTrace = true,
- bool enableCustomParameters = false,
- bool enableScreenRouters = true,
Implementation
HttpHandler(
this.requestType,
this.endpointUri, {
Map<String, dynamic>? headers,
this.requestTimeout = 5000,
this.responseTimeout = 5000,
this.printLogs = false,
this.enableDeviceParameters = true,
this.enableApplicationParameters = true,
this.enableStackTrace = true,
this.enableCustomParameters = false,
this.enableScreenRouters = true,
}) : headers = headers ?? <String, dynamic>{};