MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / http_server_request

Method http_server_request

src/dpp/http_server_request.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46http_server_request::http_server_request(cluster* creator, socket fd, uint16_t port, bool plaintext_downgrade, const std::string& private_key, const std::string& public_key, http_server_request_event handle_request)
47 : ssl_connection(creator, fd, port, plaintext_downgrade, private_key, public_key),
48 timeout(time(nullptr) + 10),
49 handler(handle_request),
50 state(HTTPS_HEADERS),
51 timed_out(false)
52{
53 http_server_request::connect();
54}
55
56void http_server_request::connect()
57{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected