Companion
Functions
Builds a FeedFetcher for feed URLs an administrator supplies: an Untrusted policy (OutboundUrlPolicy.untrusted()), an owned UrlFetcher(userAgent, policy) and so an owned OkHttpTransport with a 2 MiB decoded-body cap, 3 redirects and no https-to-http hop. Stable Core. close() closes the UrlFetcher and so the transport, which cancels every request still on the network: each such fetch returns Closed("transport"). See the overload with a policy to add the deployment's own denied ranges or ports.
As the overload without a policy, for a policy of the caller's own: OutboundUrlPolicy.untrusted { extraDeniedRanges += … }. Stable Core. The transport is built with the policy's settings as they are; close() closes it as the overload without a policy does.