URLRequest class

A request to load a URL.

See NSURLRequest

Implementers

Constructors

URLRequest.fromUrl(Uri uri)
Creates a request for a URL.
factory

Properties

allHttpHeaderFields Map<String, String>?
Returns all of the HTTP headers for the request.
no setter
cachePolicy URLRequestCachePolicy
Controls how to deal with caching for the request.
no setter
hashCode int
The hash code for this object.
no setterinherited
httpBody Data?
The body of the request.
no setter
httpMethod String
The HTTP request method (e.g. 'GET').
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutInterval Duration
The timeout interval during the connection attempt.
no setter
url Uri?
The requested URL.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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