RequestContext class final
What a handler is told about the exchange.
Constructors
-
RequestContext({required String? authenticatedSender, required String? local, required ResolvedParties resolved, required TrustTaskDocument<
Object?> request}) -
const
Properties
- authenticatedSender → String?
-
The VID the bearer token mapped to, if any. Kept apart from resolved so
a handler can tell "authenticated by the transport" from "asserted
in-band".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- local → String?
-
The server's configured VID.
final
- resolved → ResolvedParties
-
The §4.8.1-resolved parties: in-band where present, transport-derived
otherwise.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refuse(
RejectReason reason) → Refusal - A refusal for a handler to throw, addressed to the producer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited