HttpResponse class final

A minimal abstraction of an HTTP response.

Constructors

HttpResponse(int status, Headers header, Stream<Uint8List> body, Headers trailer)
const

Properties

body → Stream<Uint8List>
final
hashCode → int
The hash code for this object.
no setterinherited
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int
final
trailer → Headers
final

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