From 783de4ec4e7677e097e77eca95ea5399067a4cd6 Mon Sep 17 00:00:00 2001 From: yhirose Date: Wed, 8 Apr 2026 18:35:56 -0400 Subject: [PATCH] Update README --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 4372220..5df1ce5 100644 --- a/README.md +++ b/README.md @@ -1475,12 +1475,6 @@ auto sock = svr.socket(); httplib::set_socket_opt(sock, IPPROTO_TCP, TCP_NODELAY, 1); ``` -For time-based options, use `set_socket_opt_time` from the `detail` namespace: - -```cpp -httplib::detail::set_socket_opt_time(sock, SOL_SOCKET, SO_RCVTIMEO, 5, 0); // 5 seconds -``` - > [!TIP] > For most use cases, prefer `set_tcp_nodelay(true)` or `set_socket_options(callback)` on the Server/Client instead of calling `set_socket_opt` directly.