Skip to content

Commit 62f4241

Browse files
committed
[http] mention unix sockets in class docu
1 parent 18d8d3b commit 62f4241

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

net/http/src/THttpServer.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ More information: https://root.cern/root/htmldoc/guides/HttpServer/HttpServer.ht
106106
/// at once, separating them with semicolon (";"). Following engines are supported:
107107
///
108108
/// http - TCivetweb, civetweb-based implementation of http protocol
109+
/// socket - TCivetweb bound to unix socket
109110
/// fastcgi - TFastCgi, special protocol for communicating with web servers
110111
///
111112
/// For each created engine one should provide socket port number like "http:8080" or "fastcgi:9000".
@@ -411,6 +412,8 @@ void THttpServer::SetDrawPage(const std::string &filename)
411412
/// serv->CreateEngine("http:8080");
412413
/// serv->CreateEngine("civetweb:8080");
413414
/// serv->CreateEngine(":8080");
415+
/// // creates civetweb web server bound with unix socket
416+
/// serv->CreateEngine("socket:/home/user/server.socket?socket_mode=0700");
414417
/// // creates fastcgi server with port 9000
415418
/// serv->CreateEngine("fastcgi:9000");
416419
///

0 commit comments

Comments
 (0)