HttpRequestImpl class

A dart:io implementation of HttpRequestBase.

Inheritance

Constructors

HttpRequestImpl({bool allowAutoSignedCert = true, List<TrustedCertificate>? trustedCertificates, bool withCredentials = false, String findProxy(Uri url)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
Gets and sets the timeout.
getter/setter pairinherited

Methods

close() → void
Closes the HttpClient.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send<T>(Request<T> request) Future<Response<T>>
Sends an HTTP Request.
override
toString() String
A string representation of this object.
inherited

Operators

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