MockHttpConnectionInfo class

Mock implementation of HttpConnectionInfo for testing.

Implemented types

Constructors

MockHttpConnectionInfo({String remoteIp = '127.0.0.1', int remotePort = 12345, int localPort = 8080})

Properties

hashCode int
The hash code for this object.
no setterinherited
localPort int
final
remoteAddress InternetAddress
final
remotePort int
final
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