2#include <ossia/detail/variant.hpp>
3#include <ossia/network/base/protocol.hpp>
4#include <ossia/network/context_functions.hpp>
5#include <ossia/network/sockets/configuration.hpp>
9using osc_server_configuration = ossia::variant<
10 udp_server_configuration, tcp_server_configuration, unix_dgram_server_configuration,
11 unix_stream_server_configuration, serial_configuration, ws_server_configuration>;
13using osc_transport_configuration = ossia::variant<
14 udp_configuration, tcp_client_configuration, tcp_server_configuration,
15 unix_dgram_configuration, unix_stream_configuration, serial_configuration,
16 ws_client_configuration, ws_server_configuration>;
18struct osc_protocol_configuration
47 } bundle_strategy{NEVER_BUNDLE};
49 osc_transport_configuration transport;
52using osc_protocol_base = can_learn<protocol_base>;
53[[nodiscard]] OSSIA_EXPORT std::unique_ptr<osc_protocol_base>
54make_osc_protocol(network_context_ptr ctx, osc_protocol_configuration config);