//SPDX-License-Identifier: LGPL-3.0-only //SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® export module Crafter.Network; export import :ClientTCP; export import :ListenerTCP; export import :ClientHTTP; export import :ListenerHTTP; export import :HTTP; export import :ClientQUIC; export import :ListenerQUIC; export import :WebTransport; #ifndef CRAFTER_NETWORK_BROWSER // Exposed so user code can build WebTransport clients by hand against a // ClientQUIC until we ship a ClientWebTransport wrapper. Most callers do // not need the HTTP/3 frame helpers directly. Excluded from the browser // build — HTTP3 uses throw and the wasm target runs with -fno-exceptions. export import :HTTP3; // HTTP/1.1 over TCP, for peers that are not ready for HTTP/3. Native only: // in the browser this job is already done by fetch() behind :ClientHTTP, // and these partitions use exceptions and POSIX sockets. export import :HTTP1; // The byte-stream abstraction the HTTP/1.1 endpoints run over, and the libssl // TLS transport that turns them into https://. Exported so callers can build // credentials, and so anything else holding a connected socket can wrap it the // same way. export import :Stream; export import :TLS; export import :ClientHTTP1; export import :ListenerHTTP1; #endif