2025-11-02 15:00:53 +01:00
|
|
|
/*
|
|
|
|
|
Crafter®.Thread
|
2026-05-06 01:09:40 +02:00
|
|
|
Copyright (C) 2026 Catcrafts®
|
2025-11-02 15:00:53 +01:00
|
|
|
Catcrafts.net
|
|
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
|
version 3.0 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
License along with this library; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export module Crafter.Network;
|
|
|
|
|
|
|
|
|
|
export import :ClientTCP;
|
|
|
|
|
export import :ListenerTCP;
|
|
|
|
|
export import :ClientHTTP;
|
|
|
|
|
export import :ListenerHTTP;
|
2026-05-06 04:06:17 +02:00
|
|
|
export import :HTTP;
|
|
|
|
|
export import :ClientQUIC;
|
2026-05-19 02:53:50 +02:00
|
|
|
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;
|
|
|
|
|
#endif
|