io library

dart:io helpers of freedome_client (VM / Flutter mobile + desktop, not web): .dome files and directories, file upload sources, mDNS discovery, TLS-pinned HTTP client.

Classes

DirectoryDomeContainer
An unpacked <name>.dome/ directory (01b §2: equally valid; mimetype optional).
DomeFiles
File helpers of DomeCodec.
FileByteSource
A DomeByteSource over a file (random access, nothing loaded up front).
FileContentSource
Upload source backed by a file.
FormatInputs
Builds FormatInputs from paths.
MdnsDiscovery
Finds media servers on the local network (VM / desktop; Flutter mobile apps use BonsoirDiscovery from freedome_flutter, 02f §8.1). Records are keyed by the TXT id; addresses are re-resolved on every scan.

Constants

freedomeMdnsService → const String
The service type advertised by the media server.

Functions

pinnedClient(String pin) → Client
An http.Client that accepts the server only when its certificate's SHA-256 matches pin — for self-signed installations (TOFU) and for CA-signed certificates (checked on every response).