HttpRequestImpl class

A dart:html implementation of HttpRequestBase.

Implemented types

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 pairoverride
withCredentials bool
This option requires that you submit credentials for requests on different sites. The default is false
final

Methods

close() → void
Closes the client and abort all active requests.
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 and asynchronously returns the response.
override
toString() String
A string representation of this object.
inherited

Operators

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