Message class abstract
Constructors
- Message({ContentType? contentType, required RequestContext context, required Body? body})
Properties
- agent → Agent
-
Request agent.
Example: The agent of all http/(s) requests received by the server is Agent.http
no setter
- auth → AccessToken?
-
no setter
- body ↔ Body?
-
Request Body
Http requests body or web socket messages "body" values
In Cron Jobs body is empty
getter/setter pair
- cause → Cause
-
Request Cause.
Indicates why this request is made.
no setter
- contentType ↔ ContentType?
-
getter/setter pair
- context → RequestContext
-
RequestContext is context of request info about handling, creating,
responding
final
- fullPath → String
-
Request Full Path
include host and scheme and query parameters
examples :
http request :
https://localhost:9090/a/b?c=d
web socket req. :ws://a/b?c=d
internal req. :style://a/b?c=d
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- nextPathSegment → String
-
no setter
- path → PathController
-
no setter
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited