SimulatedHttpConnectionInfo class
Simulated HTTP connection information.
Represents the connection information for a simulated request An instance of this
An instance of this class can be passed to Request.simulated, Request.simulatedGet or Request.simulatedPost, to set the connection information the request handler will have access to. Each of those Request constructors has an optional connectionInfo named parameter.
- Implemented types
Constructors
- SimulatedHttpConnectionInfo(InternetAddress remoteAddress, {int remotePort = -1, int localPort = -1})
- Constructor for a simulated HTTP connection information.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localPort ↔ int
-
getter/setter pairoverride-getter
- remoteAddress ↔ InternetAddress
-
getter/setter pairoverride-getter
- remotePort ↔ int
-
getter/setter pairoverride-getter
- 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