|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Configuration for SocketServer. More...
#include <socket_server.hpp>
Public Attributes | |
| int | backlog = 64 |
| Pending-connection backlog passed to the listening socket. | |
| std::chrono::milliseconds | handshakeTimeout {10000} |
| Bound on completing the RFC 6455 Upgrade handshake, from accept to the request's terminating \r\n\r\n, as a single deadline across the whole read. Zero disables it. | |
| std::chrono::milliseconds | sendTimeout {30000} |
| Bound on writing one chunk (up to 64 KiB) of a reply frame. | |
Configuration for SocketServer.
Definition at line 66 of file socket_server.hpp.
| int morph::net::SocketServerConfig::backlog = 64 |
Pending-connection backlog passed to the listening socket.
Definition at line 68 of file socket_server.hpp.
| std::chrono::milliseconds morph::net::SocketServerConfig::handshakeTimeout {10000} |
Bound on completing the RFC 6455 Upgrade handshake, from accept to the request's terminating \r\n\r\n, as a single deadline across the whole read. Zero disables it.
Definition at line 73 of file socket_server.hpp.
| std::chrono::milliseconds morph::net::SocketServerConfig::sendTimeout {30000} |
Bound on writing one chunk (up to 64 KiB) of a reply frame.
A loop timer armed around each chunk's write closes the connection when it runs out, so a peer that stops reading is retired — its models reclaimed, its requests no longer dispatched — instead of accumulating replies it will never read. Zero disables it.
Definition at line 81 of file socket_server.hpp.