FakeHandlerContext class final

This can be used to set response header and trailers.

Properties

hashCode → int
The hash code for this object.
no setterinherited
requestHeaders → Headers
Request headers sent by the client.
final
responseHeaders → Headers
Response headers to be sent back.
final
responseTrailers → Headers
Response trailers to be sent back.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signal → AbortSignal
The signal for the call.
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