Agent.onPort constructor
Agent.onPort(
- int? _port
Configures a new agent that sends requests to 'http://localhost:_port
'.
Implementation
Agent.onPort(this._port)
: _scheme = "http",
_host = "localhost",
_application = null;