ConsoleClient class Null safety

HTTP Client in console (server) environment.

Implemented types

Constructors

ConsoleClient({String? proxy, String proxyFn(Uri uri)?, dynamic headers, Duration? idleTimeout, int? maxConnectionsPerHost, bool? autoUncompress, String? userAgent, bool? ignoreBadCertificates})
HTTP Client in console (server) environment.
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close({bool force = false}) Future
Closes any HTTP Client resources.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
send(Request request) Future<Response>
Sends the request and returns the Response
override
toString() String
A string representation of this object.
inherited

Operators

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