/third_party/boost/libs/beast/doc/html/ |
D | beast_HTML.manifest | 2 beast/quickref.html 4 beast/ref.html 5 beast/ref/boost__beast__async_base.html 6 beast/ref/boost__beast__async_base/executor_type.html 7 beast/ref/boost__beast__async_base/allocator_type.html 8 beast/ref/boost__beast__async_base/async_base.html 9 beast/ref/boost__beast__async_base/async_base/overload1.html 10 beast/ref/boost__beast__async_base/async_base/overload2.html 11 beast/ref/boost__beast__async_base/async_base/overload3.html 12 beast/ref/boost__beast__async_base/_async_base.html [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | typeGuardIntersectionTypes.js | 66 function identifyBeast(beast: Beast) { 69 if (hasLegs(beast)) { 72 if (hasWings(beast)) { 73 if (beast.legs === 4) { 76 else if (beast.legs === 2) { 80 log(`unknown - ${beast.legs} legs, wings`); 86 log(`manbearpig - ${beast.legs} legs, no wings`); 92 if (hasWings(beast)) { 101 function beastFoo(beast: Object) { 102 if (hasWings(beast) && hasLegs(beast)) { [all …]
|
D | typeGuardIntersectionTypes.types | 119 // Supported beast features 154 // Function to identify a given beast by detecting its features 155 function identifyBeast(beast: Beast) { 156 >identifyBeast : (beast: Beast) => void 157 >beast : Beast 160 if (hasLegs(beast)) { 161 >hasLegs(beast) : boolean 163 >beast : Beast 166 if (hasWings(beast)) { 167 >hasWings(beast) : boolean [all …]
|
D | typeGuardIntersectionTypes.symbols | 125 // Supported beast features 162 // Function to identify a given beast by detecting its features 163 function identifyBeast(beast: Beast) { 165 >beast : Symbol(beast, Decl(typeGuardIntersectionTypes.ts, 64, 23)) 169 if (hasLegs(beast)) { 171 >beast : Symbol(beast, Decl(typeGuardIntersectionTypes.ts, 64, 23)) 174 if (hasWings(beast)) { 176 >beast : Symbol(beast, Decl(typeGuardIntersectionTypes.ts, 64, 23)) 178 if (beast.legs === 4) { 179 >beast.legs : Symbol(Legged.legs, Decl(typeGuardIntersectionTypes.ts, 56, 21)) [all …]
|
/third_party/boost/libs/beast/example/websocket/client/async-ssl/ |
D | websocket_client_async_ssl.cpp | 29 namespace beast = boost::beast; // from <boost/beast.hpp> 30 namespace http = beast::http; // from <boost/beast/http.hpp> 31 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 40 fail(beast::error_code ec, char const* what) in fail() 50 beast::ssl_stream<beast::tcp_stream>> ws_; 51 beast::flat_buffer buffer_; 79 beast::bind_front_handler( in run() 86 beast::error_code ec, in on_resolve() 93 beast::get_lowest_layer(ws_).expires_after(std::chrono::seconds(30)); in on_resolve() 96 beast::get_lowest_layer(ws_).async_connect( in on_resolve() [all …]
|
/third_party/boost/libs/beast/example/websocket/client/async-ssl-system-executor/ |
D | websocket_client_async_ssl_system_executor.cpp | 30 namespace beast = boost::beast; // from <boost/beast.hpp> 31 namespace http = beast::http; // from <boost/beast/http.hpp> 32 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 41 fail(beast::error_code ec, char const* what) in fail() 51 beast::ssl_stream<beast::tcp_stream>> ws_; 52 beast::flat_buffer buffer_; 87 beast::bind_front_handler( in run() 94 beast::error_code ec, in on_resolve() 101 beast::get_lowest_layer(ws_).expires_after(std::chrono::seconds(30)); in on_resolve() 104 beast::get_lowest_layer(ws_).async_connect( in on_resolve() [all …]
|
/third_party/boost/libs/beast/example/advanced/server-flex/ |
D | advanced_server_flex.cpp | 39 namespace beast = boost::beast; // from <boost/beast.hpp> 40 namespace http = beast::http; // from <boost/beast/http.hpp> 41 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 47 beast::string_view 48 mime_type(beast::string_view path) in mime_type() 50 using beast::iequals; in mime_type() 54 if(pos == beast::string_view::npos) in mime_type() 55 return beast::string_view{}; in mime_type() 86 beast::string_view base, in path_cat() 87 beast::string_view path) in path_cat() [all …]
|
/third_party/boost/libs/beast/example/websocket/client/async/ |
D | websocket_client_async.cpp | 25 namespace beast = boost::beast; // from <boost/beast.hpp> 26 namespace http = beast::http; // from <boost/beast/http.hpp> 27 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 35 fail(beast::error_code ec, char const* what) in fail() 44 websocket::stream<beast::tcp_stream> ws_; 45 beast::flat_buffer buffer_; 73 beast::bind_front_handler( in run() 80 beast::error_code ec, in on_resolve() 87 beast::get_lowest_layer(ws_).expires_after(std::chrono::seconds(30)); in on_resolve() 90 beast::get_lowest_layer(ws_).async_connect( in on_resolve() [all …]
|
/third_party/boost/libs/beast/example/http/client/async-ssl/ |
D | http_client_async_ssl.cpp | 29 namespace beast = boost::beast; // from <boost/beast.hpp> 30 namespace http = beast::http; // from <boost/beast/http.hpp> 39 fail(beast::error_code ec, char const* what) in fail() 48 beast::ssl_stream<beast::tcp_stream> stream_; 49 beast::flat_buffer buffer_; // (Must persist between reads) 74 … beast::error_code ec{static_cast<int>(::ERR_get_error()), net::error::get_ssl_category()}; in run() 90 beast::bind_front_handler( in run() 97 beast::error_code ec, in on_resolve() 104 beast::get_lowest_layer(stream_).expires_after(std::chrono::seconds(30)); in on_resolve() 107 beast::get_lowest_layer(stream_).async_connect( in on_resolve() [all …]
|
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/ |
D | typeGuardIntersectionTypes.ts | 67 function identifyBeast(beast: Beast) { 70 if (hasLegs(beast)) { 73 if (hasWings(beast)) { 74 if (beast.legs === 4) { 77 else if (beast.legs === 2) { 81 log(`unknown - ${beast.legs} legs, wings`); 87 log(`manbearpig - ${beast.legs} legs, no wings`); 93 if (hasWings(beast)) { 102 function beastFoo(beast: Object) { 103 if (hasWings(beast) && hasLegs(beast)) { [all …]
|
/third_party/boost/libs/beast/example/http/client/async-ssl-system-executor/ |
D | http_client_async_ssl_system_executor.cpp | 30 namespace beast = boost::beast; // from <boost/beast.hpp> 31 namespace http = beast::http; // from <boost/beast/http.hpp> 40 fail(beast::error_code ec, char const* what) in fail() 49 beast::ssl_stream<beast::tcp_stream> stream_; 50 beast::flat_buffer buffer_; // (Must persist between reads) 82 … beast::error_code ec{static_cast<int>(::ERR_get_error()), net::error::get_ssl_category()}; in run() 98 beast::bind_front_handler( in run() 105 beast::error_code ec, in on_resolve() 112 beast::get_lowest_layer(stream_).expires_after(std::chrono::seconds(30)); in on_resolve() 115 beast::get_lowest_layer(stream_).async_connect( in on_resolve() [all …]
|
/third_party/boost/libs/beast/example/http/server/flex/ |
D | http_server_flex.cpp | 33 namespace beast = boost::beast; // from <boost/beast.hpp> 34 namespace http = beast::http; // from <boost/beast/http.hpp> 40 beast::string_view 41 mime_type(beast::string_view path) in mime_type() 43 using beast::iequals; in mime_type() 47 if(pos == beast::string_view::npos) in mime_type() 48 return beast::string_view{}; in mime_type() 79 beast::string_view base, in path_cat() 80 beast::string_view path) in path_cat() 111 beast::string_view doc_root, in handle_request() [all …]
|
/third_party/boost/libs/beast/example/websocket/server/async-ssl/ |
D | websocket_server_async_ssl.cpp | 33 namespace beast = boost::beast; // from <boost/beast.hpp> 34 namespace http = beast::http; // from <boost/beast/http.hpp> 35 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 44 fail(beast::error_code ec, char const* what) in fail() 53 beast::ssl_stream<beast::tcp_stream>> ws_; 54 beast::flat_buffer buffer_; 72 beast::bind_front_handler( in run() 82 beast::get_lowest_layer(ws_).expires_after(std::chrono::seconds(30)); in on_run() 87 beast::bind_front_handler( in on_run() 93 on_handshake(beast::error_code ec) in on_handshake() [all …]
|
/third_party/boost/libs/beast/example/websocket/server/fast/ |
D | websocket_server_fast.cpp | 44 namespace beast = boost::beast; // from <boost/beast.hpp> 45 namespace http = beast::http; // from <boost/beast/http.hpp> 46 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 54 fail(beast::error_code ec, char const* what) in fail() 82 do_sync_session(websocket::stream<beast::tcp_stream>& ws) in do_sync_session() 84 beast::error_code ec; in do_sync_session() 102 beast::flat_buffer buffer; in do_sync_session() 121 beast::error_code ec; in do_sync_listen() 133 websocket::stream<beast::tcp_stream>( in do_sync_listen() 143 websocket::stream<beast::tcp_stream> ws_; [all …]
|
/third_party/boost/libs/beast/example/advanced/server/ |
D | advanced_server.cpp | 35 namespace beast = boost::beast; // from <boost/beast.hpp> 36 namespace http = beast::http; // from <boost/beast/http.hpp> 37 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 42 beast::string_view 43 mime_type(beast::string_view path) in mime_type() 45 using beast::iequals; in mime_type() 49 if(pos == beast::string_view::npos) in mime_type() 50 return beast::string_view{}; in mime_type() 81 beast::string_view base, in path_cat() 82 beast::string_view path) in path_cat() [all …]
|
/third_party/boost/libs/beast/example/http/server/coro-ssl/ |
D | http_server_coro_ssl.cpp | 32 namespace beast = boost::beast; // from <boost/beast.hpp> 33 namespace http = beast::http; // from <boost/beast/http.hpp> 39 beast::string_view 40 mime_type(beast::string_view path) in mime_type() 42 using beast::iequals; in mime_type() 46 if(pos == beast::string_view::npos) in mime_type() 47 return beast::string_view{}; in mime_type() 78 beast::string_view base, in path_cat() 79 beast::string_view path) in path_cat() 110 beast::string_view doc_root, in handle_request() [all …]
|
/third_party/boost/libs/beast/example/http/server/async-ssl/ |
D | http_server_async_ssl.cpp | 34 namespace beast = boost::beast; // from <boost/beast.hpp> 35 namespace http = beast::http; // from <boost/beast/http.hpp> 41 beast::string_view 42 mime_type(beast::string_view path) in mime_type() 44 using beast::iequals; in mime_type() 48 if(pos == beast::string_view::npos) in mime_type() 49 return beast::string_view{}; in mime_type() 80 beast::string_view base, in path_cat() 81 beast::string_view path) in path_cat() 112 beast::string_view doc_root, in handle_request() [all …]
|
/third_party/boost/libs/beast/include/boost/beast/websocket/detail/ |
D | hybi13.ipp | 7 // Official repository: https://github.com/boostorg/beast 13 #include <boost/beast/websocket/detail/hybi13.hpp> 14 #include <boost/beast/core/detail/sha1.hpp> 15 #include <boost/beast/websocket/detail/prng.hpp> 22 namespace beast { 34 key.resize(beast::detail::base64::encode( 44 using namespace beast::detail::string_literals; 46 beast::detail::sha1_context ctx; 47 beast::detail::init(ctx); 48 beast::detail::update(ctx, key.data(), key.size()); [all …]
|
/third_party/boost/boost/beast/websocket/detail/ |
D | hybi13.ipp | 7 // Official repository: https://github.com/boostorg/beast 13 #include <boost/beast/websocket/detail/hybi13.hpp> 14 #include <boost/beast/core/detail/sha1.hpp> 15 #include <boost/beast/websocket/detail/prng.hpp> 22 namespace beast { 34 key.resize(beast::detail::base64::encode( 44 using namespace beast::detail::string_literals; 46 beast::detail::sha1_context ctx; 47 beast::detail::init(ctx); 48 beast::detail::update(ctx, key.data(), key.size()); [all …]
|
/third_party/boost/libs/beast/example/websocket/server/async/ |
D | websocket_server_async.cpp | 29 namespace beast = boost::beast; // from <boost/beast.hpp> 30 namespace http = beast::http; // from <boost/beast/http.hpp> 31 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 39 fail(beast::error_code ec, char const* what) in fail() 47 websocket::stream<beast::tcp_stream> ws_; 48 beast::flat_buffer buffer_; 67 beast::bind_front_handler( in run() 79 beast::role_type::server)); in on_run() 91 beast::bind_front_handler( in on_run() 97 on_accept(beast::error_code ec) in on_accept() [all …]
|
/third_party/boost/libs/beast/doc/qbk/04_http/ |
D | _http.qbk | 7 Official repository: https://github.com/boostorg/beast 36 [link beast.ref.boost__beast__http__read `read`], 37 [link beast.ref.boost__beast__http__read_header `read_header`], 38 [link beast.ref.boost__beast__http__read_some `read_some`], 39 [link beast.ref.boost__beast__http__async_read `async_read`], 40 [link beast.ref.boost__beast__http__async_read_header `async_read_header`], and 41 [link beast.ref.boost__beast__http__async_read_some `async_read_some`] 43 [link beast.concepts.streams stream]. 49 [link beast.ref.boost__beast__http__write `write`], 50 [link beast.ref.boost__beast__http__write_header `write_header`], [all …]
|
/third_party/boost/libs/beast/example/websocket/client/coro-ssl/ |
D | websocket_client_coro_ssl.cpp | 28 namespace beast = boost::beast; // from <boost/beast.hpp> 29 namespace http = beast::http; // from <boost/beast/http.hpp> 30 namespace websocket = beast::websocket; // from <boost/beast/websocket.hpp> 39 fail(beast::error_code ec, char const* what) in fail() 54 beast::error_code ec; in do_session() 59 beast::ssl_stream<beast::tcp_stream>> ws(ioc, ctx); in do_session() 67 beast::get_lowest_layer(ws).expires_after(std::chrono::seconds(30)); in do_session() 70 auto ep = beast::get_lowest_layer(ws).async_connect(results, yield[ec]); in do_session() 79 ec = beast::error_code(static_cast<int>(::ERR_get_error()), in do_session() 90 beast::get_lowest_layer(ws).expires_after(std::chrono::seconds(30)); in do_session() [all …]
|
/third_party/boost/libs/beast/example/http/client/async/ |
D | http_client_async.cpp | 26 namespace beast = boost::beast; // from <boost/beast.hpp> 27 namespace http = beast::http; // from <boost/beast/http.hpp> 35 fail(beast::error_code ec, char const* what) in fail() 44 beast::tcp_stream stream_; 45 beast::flat_buffer buffer_; // (Must persist between reads) 78 beast::bind_front_handler( in run() 85 beast::error_code ec, in on_resolve() 97 beast::bind_front_handler( in on_resolve() 103 on_connect(beast::error_code ec, tcp::resolver::results_type::endpoint_type) in on_connect() 113 beast::bind_front_handler( in on_connect() [all …]
|
/third_party/boost/libs/beast/example/http/server/async/ |
D | http_server_async.cpp | 31 namespace beast = boost::beast; // from <boost/beast.hpp> 32 namespace http = beast::http; // from <boost/beast/http.hpp> 37 beast::string_view 38 mime_type(beast::string_view path) in mime_type() 40 using beast::iequals; in mime_type() 44 if(pos == beast::string_view::npos) in mime_type() 45 return beast::string_view{}; in mime_type() 76 beast::string_view base, in path_cat() 77 beast::string_view path) in path_cat() 108 beast::string_view doc_root, in handle_request() [all …]
|
/third_party/boost/libs/beast/example/http/server/coro/ |
D | http_server_coro.cpp | 30 namespace beast = boost::beast; // from <boost/beast.hpp> 31 namespace http = beast::http; // from <boost/beast/http.hpp> 36 beast::string_view 37 mime_type(beast::string_view path) in mime_type() 39 using beast::iequals; in mime_type() 43 if(pos == beast::string_view::npos) in mime_type() 44 return beast::string_view{}; in mime_type() 75 beast::string_view base, in path_cat() 76 beast::string_view path) in path_cat() 107 beast::string_view doc_root, in handle_request() [all …]
|