Home
last modified time | relevance | path

Searched refs:doc_root (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/libs/beast/example/http/server/flex/
Dhttp_server_flex.cpp111 beast::string_view doc_root, in handle_request() argument
166 std::string path = path_cat(doc_root, req.target()); in handle_request()
301 std::shared_ptr<std::string const> const& doc_root) in session() argument
302 : doc_root_(doc_root) in session()
381 std::shared_ptr<std::string const> const& doc_root) in plain_session() argument
384 doc_root) in plain_session()
434 std::shared_ptr<std::string const> const& doc_root) in ssl_session() argument
437 doc_root) in ssl_session()
523 std::shared_ptr<std::string const> const& doc_root) in detect_session() argument
526 , doc_root_(doc_root) in detect_session()
[all …]
/third_party/boost/libs/beast/example/advanced/server-flex/
Dadvanced_server_flex.cpp118 beast::string_view doc_root, in handle_request() argument
173 std::string path = path_cat(doc_root, req.target()); in handle_request()
559 std::shared_ptr<std::string const> const& doc_root) in http_session() argument
560 : doc_root_(doc_root) in http_session()
662 std::shared_ptr<std::string const> const& doc_root) in plain_http_session() argument
665 doc_root) in plain_http_session()
718 std::shared_ptr<std::string const> const& doc_root) in ssl_http_session() argument
721 doc_root) in ssl_http_session()
811 std::shared_ptr<std::string const> const& doc_root) in detect_session() argument
814 , doc_root_(doc_root) in detect_session()
[all …]
/third_party/boost/libs/beast/example/http/server/coro/
Dhttp_server_coro.cpp107 beast::string_view doc_root, in handle_request() argument
162 std::string path = path_cat(doc_root, req.target()); in handle_request()
254 std::shared_ptr<std::string const> const& doc_root, in do_session() argument
280 handle_request(*doc_root, std::move(req), lambda); in do_session()
304 std::shared_ptr<std::string const> const& doc_root, in do_listen() argument
342 doc_root, in do_listen()
360 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
372 doc_root, in main()
/third_party/boost/libs/beast/example/http/server/async/
Dhttp_server_async.cpp108 beast::string_view doc_root, in handle_request() argument
163 std::string path = path_cat(doc_root, req.target()); in handle_request()
266 std::shared_ptr<std::string const> const& doc_root) in session() argument
268 , doc_root_(doc_root) in session()
371 std::shared_ptr<std::string const> const& doc_root) in listener() argument
374 , doc_root_(doc_root) in listener()
466 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
476 doc_root)->run(); in main()
/third_party/boost/libs/beast/example/http/server/stackless/
Dhttp_server_stackless.cpp109 beast::string_view doc_root, in handle_request() argument
164 std::string path = path_cat(doc_root, req.target()); in handle_request()
271 std::shared_ptr<std::string const> const& doc_root) in session() argument
273 , doc_root_(doc_root) in session()
369 std::shared_ptr<std::string const> const& doc_root) in listener() argument
373 , doc_root_(doc_root) in listener()
469 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
479 doc_root)->run(); in main()
/third_party/boost/libs/beast/example/http/server/coro-ssl/
Dhttp_server_coro_ssl.cpp110 beast::string_view doc_root, in handle_request() argument
165 std::string path = path_cat(doc_root, req.target()); in handle_request()
277 std::shared_ptr<std::string const> const& doc_root, in do_session() argument
311 handle_request(*doc_root, std::move(req), lambda); in do_session()
341 std::shared_ptr<std::string const> const& doc_root, in do_listen() argument
380 doc_root, in do_listen()
398 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
417 doc_root, in main()
/third_party/boost/libs/beast/example/http/server/async-ssl/
Dhttp_server_async_ssl.cpp112 beast::string_view doc_root, in handle_request() argument
167 std::string path = path_cat(doc_root, req.target()); in handle_request()
292 std::shared_ptr<std::string const> const& doc_root) in session() argument
294 , doc_root_(doc_root) in session()
436 std::shared_ptr<std::string const> const& doc_root) in listener() argument
440 , doc_root_(doc_root) in listener()
533 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
550 doc_root)->run(); in main()
/third_party/boost/libs/beast/example/http/server/stackless-ssl/
Dhttp_server_stackless_ssl.cpp113 beast::string_view doc_root, in handle_request() argument
168 std::string path = path_cat(doc_root, req.target()); in handle_request()
297 std::shared_ptr<std::string const> const& doc_root) in session() argument
299 , doc_root_(doc_root) in session()
425 std::shared_ptr<std::string const> const& doc_root) in listener() argument
430 , doc_root_(doc_root) in listener()
529 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
546 doc_root)->run(); in main()
/third_party/boost/libs/beast/example/http/server/sync/
Dhttp_server_sync.cpp106 beast::string_view doc_root, in handle_request() argument
161 std::string path = path_cat(doc_root, req.target()); in handle_request()
252 std::shared_ptr<std::string const> const& doc_root) in do_session() argument
274 handle_request(*doc_root, std::move(req), lambda); in do_session()
308 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
327 doc_root)}.detach(); in main()
/third_party/boost/libs/beast/example/websocket/server/chat-multi/
Dshared_state.hpp35 shared_state(std::string doc_root);
38 doc_root() const noexcept in doc_root() function in shared_state
Dmain.cpp43 auto doc_root = argv[3]; in main() local
53 boost::make_shared<shared_state>(doc_root))->run(); in main()
Dshared_state.cpp14 shared_state(std::string doc_root) in shared_state() argument
15 : doc_root_(std::move(doc_root)) in shared_state()
/third_party/boost/libs/beast/example/http/server/sync-ssl/
Dhttp_server_sync_ssl.cpp109 beast::string_view doc_root, in handle_request() argument
164 std::string path = path_cat(doc_root, req.target()); in handle_request()
256 std::shared_ptr<std::string const> const& doc_root) in do_session() argument
286 handle_request(*doc_root, std::move(req), lambda); in do_session()
322 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
348 doc_root)}.detach(); in main()
/third_party/boost/libs/beast/example/advanced/server/
Dadvanced_server.cpp113 beast::string_view doc_root, in handle_request() argument
168 std::string path = path_cat(doc_root, req.target()); in handle_request()
432 std::shared_ptr<std::string const> const& doc_root) in http_session() argument
434 , doc_root_(doc_root) in http_session()
556 std::shared_ptr<std::string const> const& doc_root) in listener() argument
559 , doc_root_(doc_root) in listener()
659 auto const doc_root = std::make_shared<std::string>(argv[3]); in main() local
669 doc_root)->run(); in main()
/third_party/boost/libs/asio/example/cpp11/http/server/
Dserver.cpp19 const std::string& doc_root) in server() argument
24 request_handler_(doc_root) in server()
/third_party/boost/doc/html/boost_asio/example/cpp11/http/server/
Dserver.cpp19 const std::string& doc_root) in server() argument
24 request_handler_(doc_root) in server()
Drequest_handler.cpp22 request_handler::request_handler(const std::string& doc_root) in request_handler() argument
23 : doc_root_(doc_root) in request_handler()
/third_party/boost/libs/asio/example/cpp03/http/server2/
Dserver.cpp18 const std::string& doc_root, std::size_t io_context_pool_size) in server() argument
23 request_handler_(doc_root) in server()
/third_party/boost/libs/asio/example/cpp03/http/server/
Dserver.cpp19 const std::string& doc_root) in server() argument
25 request_handler_(doc_root) in server()
/third_party/boost/doc/html/boost_asio/example/cpp03/http/server2/
Dserver.cpp18 const std::string& doc_root, std::size_t io_context_pool_size) in server() argument
23 request_handler_(doc_root) in server()
/third_party/boost/doc/html/boost_asio/example/cpp03/http/server/
Dserver.cpp19 const std::string& doc_root) in server() argument
25 request_handler_(doc_root) in server()
/third_party/boost/libs/beast/example/http/server/fast/
Dhttp_server_fast.cpp77 http_worker(tcp::acceptor& acceptor, const std::string& doc_root) : in http_worker() argument
79 doc_root_(doc_root) in http_worker()
327 std::string doc_root = argv[3]; in main() local
337 workers.emplace_back(acceptor, doc_root); in main()
/third_party/boost/libs/asio/example/cpp03/http/server3/
Dserver.cpp21 const std::string& doc_root, std::size_t thread_pool_size) in server() argument
26 request_handler_(doc_root) in server()
/third_party/boost/doc/html/boost_asio/example/cpp03/http/server3/
Dserver.cpp21 const std::string& doc_root, std::size_t thread_pool_size) in server() argument
26 request_handler_(doc_root) in server()
/third_party/boost/libs/asio/example/cpp03/http/server4/
Dfile_handler.cpp23 file_handler::file_handler(const std::string& doc_root) in file_handler() argument
24 : doc_root_(doc_root) in file_handler()

123