NiddlerRequest class
Implementation class for representing niddler requests (outgoing). This is not restricted to strictly HTTP requests
- Inheritance
-
- Object
- NiddlerMessageBase
- NiddlerRequest
Constructors
Properties
- body ↔ String?
-
Binary body of the message, encoded as Base64
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, List< String> > -
List of headers associated with this message
finalinherited
- messageId → String
-
Message id of the message. Must be unique over all messages
finalinherited
- method → String?
-
The method of this request, can be a HTTP method or something else that describes your request (eg in websockets)
final
- requestId → String
-
The request if of the message. Used to associate requests with their responses, they use the same requestId
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stackTraces
→ List<
String> ? -
The stack traces of the call site that started the request. Can be null if not enabled
final
- timeStamp → int
-
The timestamp, in milliseconds since epoch, that this message's content was generated
finalinherited
- url → String
-
The url of this request, can be a valid URI or something else that describes your request (eg in websockets)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic - Converts this request to a json object
-
toJsonString(
) → String -
Converts this request to a json string
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateJson(
Map< String, dynamic> jsonData) → void -
Updates the given (json) data with the values stored in this instance
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited