Writable response half for a TailscaleHttpRequest.
Properties
-
done
→ Future<
void> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Mutable headers. Mutations after the first body write are not sent.
no setter
-
headersAll
→ Map<
String, List< String> > -
Snapshot of all configured response headers, including repeated values.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode ↔ int
-
getter/setter pair
Methods
-
addHeader(
String name, String value) → void -
Appends one value for
name. -
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setHeader(
String name, String value) → void -
Replaces all values for
namewithvalue. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
List< int> bytes) → Future<void> -
writeAll(
Stream< List< chunks, {bool close = false}) → Future<int> >void> -
writeString(
String text, {Encoding encoding = utf8}) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited