WASIPreview2HttpOutgoingResponse class final

Preview2 outgoing response resource.

Constructors

WASIPreview2HttpOutgoingResponse(WASIPreview2HttpFields headers)
Creates an outgoing response.

Properties

bodyResource → WASIPreview2HttpOutgoingBody?
Outgoing response body, when created.
no setter
hashCode → int
The hash code for this object.
no setterinherited
headers → WASIPreview2HttpFields
Response headers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode ↔ int
Response status code.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
takeBody() → WASIPreview2HttpOutgoingBody?
Returns the outgoing body on the first call, or null afterwards.
toString() → String
A string representation of this object.
inherited

Operators

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