HttpAgent.fromUri constructor
HttpAgent.fromUri(
- Uri uri, {
- HttpAgentOptions? options,
Implementation
factory HttpAgent.fromUri(Uri uri, {HttpAgentOptions? options}) {
return HttpAgent(
defaultHost: uri.host,
defaultPort: uri.port,
defaultProtocol: uri.scheme,
options: options,
);
}