SimulatedHttpConnectionInfo constructor

SimulatedHttpConnectionInfo(
  1. InternetAddress remoteAddress, {
  2. int remotePort = -1,
  3. int localPort = -1,
})

Constructor for a simulated HTTP connection information.

Implementation

SimulatedHttpConnectionInfo(this.remoteAddress,
    {this.remotePort = -1, this.localPort = -1});