22#include <StormByte/visibility.h>
60 default:
return "Error";
Connection types of the Network module.
Definition client.hxx:31
constexpr bool IsConnected(const Status &status) noexcept
Whether the connection is usable for I/O (Connected or Negotiating).
Definition status.hxx:69
constexpr std::string StatusToString(const Status &status)
Status as text.
Definition status.hxx:50
Status
Lifecycle of a connection or listener.
Definition status.hxx:34
@ Disconnecting
Shutdown in progress.
@ Connected
Connection established.
@ Rejected
Peer or local rejection.
@ PeerClosed
Peer closed the connection.
@ Connecting
Connect or listen in progress.
@ Disconnected
Closed / idle.
@ Negotiating
Application-level handshake.
#define STORMBYTE_NETWORK_PUBLIC
Definition visibility.h:28