Request class

Available extensions

Constructors

Request({required String method, required Uri url, required Headers headers, required Stream<List<int>> bodyStream, Map<String, String>? params, DVPeerAddress? peerAddress})

Properties

body → Body
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Headers
final
method → String
final
params → Map<String, String>
final
peerAddress → DVPeerAddress?
The address at the other end of the connection this request arrived on, as the server's socket reports it -- or null when whatever built this request had no connection to ask.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → Uri
final

Methods

formData() → Future<Map<String, Object?>>

Available on Request, provided by the RequestFormData extension

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