MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / process_client_socket_ssl

Function process_client_socket_ssl

examples/server/httplib.h:8121–8128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8119
8120template <typename T>
8121inline bool
8122process_client_socket_ssl(SSL *ssl, socket_t sock, time_t read_timeout_sec,
8123 time_t read_timeout_usec, time_t write_timeout_sec,
8124 time_t write_timeout_usec, T callback) {
8125 SSLSocketStream strm(sock, ssl, read_timeout_sec, read_timeout_usec,
8126 write_timeout_sec, write_timeout_usec);
8127 return callback(strm);
8128}
8129
8130class SSLInit {
8131public:

Callers 1

process_socketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected