CurlClient class Null safety

HTTP Client in Linux environment, executing the curl binary. Use it only if the required feature (e.g. SOCKS proxy) is not available in console.dart's ConsoleClient.

Implemented types

Constructors

CurlClient({String? executable, String? userAgent, String? socksHostPort, CurlSocksProxyType socksProxyType = CurlSocksProxyType.socks5})
HTTP Client in Linux environment, executing the curl binary.

Properties

executable String?
The curl executable.
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
socksHostPort String?
SOCKS Proxy in host:port format.
final
socksProxyType CurlSocksProxyType
SOCKS Proxy type. Default is SOCKS5.
final
userAgent String?
The HTTP user agent.
final

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