DynatraceHttpClientOptions class

Class which can be used for the HttpClient setup. It currently is used for calculation of request size as some default headers are not predictable in our calculation.

Constructors

DynatraceHttpClientOptions(Map<String, String> requestHeaders)
Constructor which allows to specify custom default headers. Should also be used if default user-agent is changed or accept-encoding header is deactivated.
DynatraceHttpClientOptions.standard()
Standard constructor which will set default headers as we expect them from Flutter.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
requestHeaders Map<String, String>
Headers which will be attached to a request but are not visible at the time of sending the request
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getDefaultHeaders() Map<String, String>
Returning the used default headers in case a the list of headers is expanded.