Agent constructor

Agent(
  1. Application<ApplicationChannel> app
)

Configures a new agent that sends requests to app.

Implementation

Agent(Application app)
    : _application = app,
      _host = null,
      _port = null,
      _scheme = null;