MutableURLRequest class

A mutable request to load a URL.

See NSMutableURLRequest

Inheritance

Constructors

MutableURLRequest.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 setterinherited
cachePolicy URLRequestCachePolicy
Controls how to deal with caching for the request.
getter/setter pairinherited-getter
hashCode int
The hash code for this object.
no setterinherited
httpBody Data?
The body of the request.
getter/setter pairinherited-getter
httpBodyStream Stream<List<int>>
Sets the body of the request to the given Stream.
no getter
httpMethod String
The HTTP request method (e.g. 'GET').
getter/setter pairinherited-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutInterval Duration
The timeout interval during the connection attempt.
getter/setter pairinherited-getter
url Uri?
The requested URL.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValueForHttpHeaderField(String value, String field) → void
Set the value of a header field.
toString() String
A string representation of this object.
override

Operators

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