CSQHttpOverrides class abstract

An implementation of HttpOverrides that allows the SDK to track the different requests made through the global HttpClient.

Consider using it when you want to override the HttpClient through HttpOverrides.global with a custom class like:

void main() {
  HttpOverrides.global = CSQHttpOverrides(
    httpOverrides: YourCustomHttpOverrides()
  );
}
Implemented types

Constructors

CSQHttpOverrides({required HttpOverrides httpOverrides})
Creates an instance of CSQHttpOverrides
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
inherited
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