KrakenHttpOverrides class
- Inheritance
-
- Object
- HttpOverrides
- KrakenHttpOverrides
Constructors
- KrakenHttpOverrides.instance()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- parentHttpOverrides → HttpOverrides?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearInterceptors(
) → void -
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.
override
-
getInterceptor(
int contextId) → HttpClientInterceptor -
hasInterceptor(
int contextId) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerKrakenContext(
int contextId, HttpClientInterceptor httpClientInterceptor) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unregisterKrakenContext(
int contextId) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getContextHeader(
HttpHeaders headers) → int? -
setContextHeader(
HttpHeaders headers, int contextId) → void