/dports/net/arataga/restinio-v.0.6.13/dev/test/common/ |
H A D | request_handler_pool.hpp | 17 std::function< void ( restinio::request_handle_t ) > in start() 26 restinio::request_handle_t req; in start() 49 enqueue( restinio::request_handle_t req ) in enqueue() 55 thread_safe_queue_t< restinio::request_handle_t > m_request_queue; 57 std::function< void ( restinio::request_handle_t ) > m_handler;
|
/dports/net/arataga/restinio-v.0.6.13/dev/restinio/helpers/http_field_parsers/ |
H A D | user-agent.hpp | 18 namespace restinio namespace 51 restinio::optional_t<std::string> product_version; 59 using tail_item_t = restinio::variant_t< product_t, std::string >; 102 static expected_t< user_agent_value_t, restinio::easy_parser::parse_error_t > 105 return restinio::easy_parser::try_parse( what, make_parser() ); in try_parse()
|
H A D | accept-language.hpp | 16 namespace restinio namespace 25 namespace ep_impl = restinio::easy_parser::impl; 26 namespace hfp_impl = restinio::http_field_parsers::impl; 115 static expected_t< accept_language_value_t, restinio::easy_parser::parse_error_t > 118 return restinio::easy_parser::try_parse( what, make_parser() ); in try_parse()
|
H A D | try_parse_field.hpp | 22 namespace restinio namespace 55 restinio::easy_parser::parse_error_t >; 60 template< typename, typename = restinio::utils::metaprogramming::void_t<> > 66 restinio::utils::metaprogramming::void_t< 69 expected_t< T, restinio::easy_parser::parse_error_t >,
|
H A D | accept.hpp | 16 namespace restinio namespace 60 restinio::optional_t< qvalue_t > weight; 98 static expected_t< accept_value_t, restinio::easy_parser::parse_error_t > 101 return restinio::easy_parser::try_parse( what, make_parser() ); in try_parse()
|
H A D | content-disposition.hpp | 18 namespace restinio namespace 27 namespace ep_impl = restinio::easy_parser::impl; 28 namespace hfp_impl = restinio::http_field_parsers::impl; 29 namespace hfp_details = restinio::http_field_parsers::details; 394 static expected_t< content_disposition_value_t, restinio::easy_parser::parse_error_t > 397 return restinio::easy_parser::try_parse( what, make_parser() ); in try_parse()
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/router/express_router_pcre/ |
H A D | main.cpp | 16 using namespace restinio; 18 using express_router_t = restinio::router::express_router_t< restinio::router::pcre_regex_engine_t<… 19 using restinio::router::route_params_t;
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/router/express_router_boost_regex/ |
H A D | main.cpp | 16 using namespace restinio; 18 using express_router_t = restinio::router::express_router_t< restinio::router::boost_regex_engine_t… 19 using restinio::router::route_params_t;
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/router/express_router_pcre2/ |
H A D | main.cpp | 16 using namespace restinio; 18 using express_router_t = restinio::router::express_router_t< restinio::router::pcre2_regex_engine_t… 19 using restinio::router::route_params_t;
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/http_field_parser/ |
H A D | cache-control.cpp | 11 using namespace restinio::http_field_parsers; 56 { "no-transform"s, restinio::nullopt }, 57 { "only-if-cached"s, restinio::nullopt }, 72 { "no-transform"s, restinio::nullopt }, 73 { "only-if-cached"s, restinio::nullopt },
|
H A D | user-agent.cpp | 11 namespace restinio namespace 32 if( auto p = restinio::get_if<user_agent_value_t::product_t>(&i) ) { in operator <<() 38 else if( auto p2 = restinio::get_if<std::string>(&i) ) { in operator <<() 51 using namespace restinio::http_field_parsers; 132 user_agent_value_t::product_t{ "AppleWebKit"s, restinio::nullopt }, 135 user_agent_value_t::product_t{ "Safari"s, restinio::nullopt }
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/router/express_router_user_data_simple/ |
H A D | main.cpp | 17 using namespace restinio; 19 using express_router_t = restinio::router::generic_express_router_t< 20 restinio::router::std_regex_engine_t, 23 using restinio::router::route_params_t;
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/handle_requests/user_controlled_output/ |
H A D | main.cpp | 31 []( restinio::request_handle_t req ){ in start_request_handler_pool() 32 using output_type_t = restinio::user_controlled_output_t; in start_request_handler_pool() 77 operator () ( restinio::request_handle_t req ) in operator ()() 79 if( restinio::http_method_post() == req->header().method() ) in operator ()() 83 return restinio::request_accepted(); in operator ()() 86 return restinio::request_rejected(); in operator ()() 109 restinio::http_server_t< 110 restinio::traits_t< 111 restinio::asio_timer_manager_t, 116 restinio::own_io_context(),
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/router/express/ |
H A D | usings.ipp | 1 using namespace restinio; 2 using namespace restinio::router; 3 using regex_engine_t = restinio::router::std_regex_engine_t; 4 using route_matcher_t = restinio::router::impl::route_matcher_t< regex_engine_t >;
|
/dports/net/arataga/restinio-v.0.6.13/dev/restinio/helpers/ |
H A D | multipart_body.hpp | 29 namespace restinio namespace 76 using namespace restinio::string_algo; in split_multipart_body() 161 using namespace restinio::http_field_parsers; 163 namespace easy_parser = restinio::easy_parser; 314 expected_t< parsed_part_t, restinio::easy_parser::parse_error_t > 317 namespace easy_parser = restinio::easy_parser; in try_parse_part() 502 namespace hfp = restinio::http_field_parsers; in detect_boundary_for_multipart_body() 503 using restinio::impl::is_equal_caseless; in detect_boundary_for_multipart_body() 507 restinio::http_field::content_type ); in detect_boundary_for_multipart_body() 606 template< typename, typename = restinio::utils::metaprogramming::void_t<> > [all …]
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/transforms/zlib/ |
H A D | main.cpp | 18 namespace rtz = restinio::transforms::zlib; 75 namespace rtz = restinio::transforms::zlib; 88 namespace rtz = restinio::transforms::zlib; 122 namespace rtz = restinio::transforms::zlib; 144 namespace rtz = restinio::transforms::zlib; 163 namespace rtz = restinio::transforms::zlib; 257 const restinio::string_view_t 282 const restinio::string_view_t 380 const restinio::string_view_t 405 const restinio::string_view_t [all …]
|
/dports/net/arataga/restinio-v.0.6.13/dev/restinio/websocket/impl/ |
H A D | ws_connection.hpp | 30 namespace restinio namespace 100 restinio::impl::fixed_buffer_t m_buf; 220 restinio::utils::log_trace_noexcept( m_logger, in shutdown() 232 restinio::utils::log_error_noexcept( m_logger, in shutdown() 257 restinio::utils::log_trace_noexcept( m_logger, in kill() 271 restinio::utils::log_error_noexcept( m_logger, in kill() 375 restinio::utils::log_trace_noexcept( m_logger, in close_impl() 384 restinio::utils::suppress_exceptions( in close_impl() 394 restinio::utils::suppress_exceptions( in close_impl() 469 restinio::utils::log_error_noexcept( in trigger_error_and_close() [all …]
|
H A D | ws_protocol_validator.hpp | 11 namespace restinio namespace 125 {::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 24 >( in unmasker_t() 127 ::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 16 >( in unmasker_t() 129 ::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 8 >( in unmasker_t() 131 ::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 0 >( in unmasker_t() 153 {::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 24 >( in reset() 155 ::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 16 >( in reset() 157 ::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 8 >( in reset() 159 ::restinio::utils::impl::bitops::n_bits_from< std::uint8_t, 0 >( in reset() 574 restinio::utils::utf8_checker_t m_utf8_checker;
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/router/ |
H A D | fake_connection_and_request.ipp | 6 restinio::router::generic_easy_parser_router_t< Extra_Data_Factory > &, 10 using request_t = restinio::generic_request_t< 20 restinio::endpoint_t{ 21 restinio::asio_ns::ip::make_address_v4("127.0.0.1"),
|
/dports/net/arataga/restinio-v.0.6.13/dev/restinio/impl/ |
H A D | parser_callbacks.ipp | 2 restinio 15 reinterpret_cast< restinio::impl::http_parser_ctx_t * >( 40 reinterpret_cast< restinio::impl::http_parser_ctx_t * >( 85 reinterpret_cast< restinio::impl::http_parser_ctx_t * >( parser->data ); 127 reinterpret_cast< restinio::impl::http_parser_ctx_t * >( 145 ::restinio::utils::impl::uint64_to_size_t( 164 reinterpret_cast< restinio::impl::http_parser_ctx_t * >( 197 reinterpret_cast< restinio::impl::http_parser_ctx_t * >( 206 ::restinio::utils::impl::uint64_to_size_t(parser->content_length) ); 232 reinterpret_cast< restinio::impl::http_parser_ctx_t * >(
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/default_constructed_settings/ |
H A D | main.cpp | 13 using namespace restinio; 17 { return restinio::request_rejected(); } 98 return restinio::request_rejected(); in __anon1fc478570102() 279 using settings_t = server_settings_t< restinio::default_traits_t >; 293 restinio::acceptor_options_t 303 using settings_t = server_settings_t< restinio::default_traits_t >; 317 restinio::socket_options_t
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/router/easy_parser_router_dsl/ |
H A D | main.cpp | 13 namespace ep = restinio::easy_parser; 14 namespace epr = restinio::router::easy_parser_router; 28 restinio::utils::metaprogramming::impl::debug_print<T2>{}; 55 const restinio::string_view_t slash{ "/" }; 62 slash, versions_tag, restinio::string_view_t{ "/" },
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/handle_requests/incoming_msg_limits/ |
H A D | main.cpp | 19 restinio::http_server_t< 20 restinio::traits_t< 21 restinio::asio_timer_manager_t, 25 restinio::own_io_context(), 31 restinio::incoming_http_msg_limits_t{} in __anona701a4f60102()
|
/dports/net/arataga/restinio-v.0.6.13/dev/test/response_coordinator/ |
H A D | main.cpp | 15 using namespace restinio; 16 using namespace restinio::impl; 1162 make_buffers( restinio::sendfile( 1204 make_buffers( restinio::sendfile( 1247 make_buffers( restinio::sendfile( 1257 make_buffers( restinio::sendfile( 1267 make_buffers( restinio::sendfile( 1321 make_buffers( restinio::sendfile( 1331 make_buffers( restinio::sendfile( 1341 make_buffers( restinio::sendfile( [all …]
|
/dports/net/arataga/restinio-v.0.6.13/dev/restinio/websocket/ |
H A D | websocket.hpp | 19 namespace restinio namespace 119 if( restinio::writable_item_type_t::trivial_write_operation == 240 using connection_t = restinio::impl::connection_t< Traits >; in upgrade() 241 auto conn_ptr = std::move( restinio::impl::access_req_connection( req ) ); in upgrade() 266 restinio::impl::content_length_field_presence_t::skip_content_length; in upgrade() 269 restinio::impl::create_header_string( in upgrade() 352 req.header().get_field( restinio::http_field::sec_websocket_key ) + in upgrade() 355 auto digest = restinio::utils::sha1::make_digest( ws_key ); in upgrade()
|