RequestContext class
It refers to the context in which the request occurs and the BuildContext of the endpoints and gates it reaches.
Constructors
- RequestContext({required DateTime requestTime, required Cause cause, required Agent agent, required PathController pathController, AccessToken? accessToken})
- Not use
Properties
- accessToken ↔ AccessToken?
-
Access Token
getter/setter pair
- agent ↔ Agent
-
Request agent.
Example: The agent of all http/(s) requests received by the server is Agent.http
getter/setter pair
- cause ↔ Cause
-
Request Cause.
Indicates why this request is made.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- pathController ↔ PathController
-
Path-Call Controller
getter/setter pair
- requestTime ↔ DateTime
-
Request Create Time
getter/setter pair
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited