Listens for incoming network connections.
Definition Listener.hpp:11
int fd() const
Gets the underlying file descriptor for epoll registration.
Definition Listener.cpp:68
void start()
Starts the listener to accept connections.
Definition Listener.cpp:33
std::optional< network::Socket > accept_connection()
Accepts a new incoming connection.
Definition Listener.cpp:50
Definition Http2Session.hpp:17