MCPcopy Create free account
hub / github.com/chrxh/alien / process_client_socket

Function process_client_socket

external/cpp-httplib/httplib.h:2529–2537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2527 }
2528
2529 inline bool process_client_socket(socket_t sock, time_t read_timeout_sec,
2530 time_t read_timeout_usec,
2531 time_t write_timeout_sec,
2532 time_t write_timeout_usec,
2533 std::function<bool(Stream&)> callback) {
2534 SocketStream strm(sock, read_timeout_sec, read_timeout_usec,
2535 write_timeout_sec, write_timeout_usec);
2536 return callback(strm);
2537 }
2538
2539 inline int shutdown_socket(socket_t sock) {
2540#ifdef _WIN32

Callers 2

process_socketMethod · 0.85
connect_with_proxyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected