Pages/StreamPage/remote/remote_access library

What the browser does with a request from this page to an explicit ObservANT, decided before it is sent: mixed content, and Chrome's Local Network Access (formerly Private Network Access).

Classes

RemoteAccess
The decision for one page and one address.

Enums

AddressSpace
The address spaces of Local Network Access, most private first; unknown is a name only DNS can place.
LocalNetworkAccess
Whether Chrome asks the visitor before this page may reach the address.

Functions

addressSpaceOf(String host) → AddressSpace
host's address space: IP literals by their ranges, localhost and home-network names by their form.
decideRemoteAccess({required Uri page, required Uri target}) → RemoteAccess
The decision for a request from page to target, both absolute http(s) URLs.
trustworthyHttpHost(String host) → bool
Whether the browser treats http://[host] as trustworthy: loopback is never mixed content.