MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / process_client_socket

Function process_client_socket

external/httplib.h:3327–3335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3325}
3326
3327inline bool process_client_socket(socket_t sock, time_t read_timeout_sec,
3328 time_t read_timeout_usec,
3329 time_t write_timeout_sec,
3330 time_t write_timeout_usec,
3331 std::function<bool(Stream &)> callback) {
3332 SocketStream strm(sock, read_timeout_sec, read_timeout_usec,
3333 write_timeout_sec, write_timeout_usec);
3334 return callback(strm);
3335}
3336
3337inline int shutdown_socket(socket_t sock) {
3338#ifdef _WIN32

Callers 2

process_socketMethod · 0.85
connect_with_proxyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected