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

Method Server

external/cpp-httplib/httplib.h:4797–4804  ·  view source on GitHub ↗

HTTP server implementation

Source from the content-addressed store, hash-verified

4795
4796 // HTTP server implementation
4797 inline Server::Server()
4798 : new_task_queue(
4799 [] { return new ThreadPool(CPPHTTPLIB_THREAD_POOL_COUNT); }),
4800 svr_sock_(INVALID_SOCKET), is_running_(false) {
4801#ifndef _WIN32
4802 signal(SIGPIPE, SIG_IGN);
4803#endif
4804 }
4805
4806 inline Server::~Server() {}
4807

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected