UpstreamProxy constructor

UpstreamProxy(
  1. ProxyConfig _config
)

Creates an upstream proxy with the given config.

Implementation

UpstreamProxy(this._config) {
  _client = HttpClient()..connectionTimeout = _config.timeout;
}