ForceRequest class

Implemented types

Constructors

ForceRequest(HttpRequest request)

Properties

asyncFuture → Future
read-only
cookies → List<Cookie>
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
isForwarded → bool
read-only
locale Intl
read / write
path_variables ↔ Map<String, String>
read / write
request ↔ HttpRequest
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

accepts(String type) → bool
async(dynamic value) → void
getBody() → Stream
  • Return the body of the message as an stream.
  • override
    getOutputBody() → IOSink
  • Return the body of the message as an output stream.
  • override
    getPostData({bool usejson = true}) → Future
    getPostParams({Encoding enc = utf8}) → Future
    getPostRawData() → Future
    getRequestHeaders() HttpHeadersWrapper
  • Return the headers of this message.
    • @return a corresponding HttpHeaders object (never null)
  • override
    getResponseHeaders() HttpHeadersWrapper
  • Return the headers of this message.
    • @return a corresponding HttpHeaders object (never null)
  • override
    isMime(String type) → bool
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a non-existent method or property is accessed. [...]
    inherited
    statusCode(int statusCode) → void
    toString() → String
    Returns a string representation of this object.
    inherited

    Operators

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