Request class abstract

Request contains information about HTTP request

Constructors

Request(HttpRequest request)
factory

Properties

body → Future<List<int>>
Returns raw body of HTTP request
no setter
certificate → X509Certificate?
The client certificate of the client making the request
no setter
connectionInfo → HttpConnectionInfo?
Connection information of the request
no setter
contentLength → int
The content length of the request body
no setter
cookies → List<Cookie>
The cookies in the request, from the Cookie headers.
no setter
hashCode → int
The hash code for this object.
no setterinherited
headers → HttpHeaders
The request headers.
no setter
ioRequest → HttpRequest
no setter
method → String
The method, such as 'GET' or 'POST', for the request.
no setter
persistentConnection → bool
The persistent connection state signaled by the client
no setter
protocolVersion → String
The HTTP protocol version used in the request, either "1.0" or "1.1".
no setter
requestedUri → Uri
The requested URI for the request
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
upgradeToWebSocket → Future<WebSocket>
Upgrades the request to a websocket request and returns the websocket
no setter
uri → Uri
The URI for the request
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.
inherited

Operators

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