ApmHttpOverrides class

Inheritance

Constructors

ApmHttpOverrides({HttpOverrides? customHttpOverrides, @visibleForTesting HttpRecorderBuilder? mockHttpRecorder, @visibleForTesting NetworkDataReporter? mockNetworkDataReporter, @visibleForTesting HttpClient? mockOriginClient})

Properties

customHttpOverrides HttpOverrides?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mockHttpRecorder HttpRecorderBuilder?
getter/setter pair
mockNetworkDataReporter ↔ NetworkDataReporter?
getter/setter pair
mockOriginClient HttpClient?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createHttpClient(SecurityContext? context) HttpClient
Returns a new HttpClient using the given context.
override
findProxyFromEnvironment(Uri url, Map<String, String>? environment) String
Resolves the proxy server to be used for HTTP connections.
inherited
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