Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-gateway/src/server_http_helpers.rs

cre8-app-gateway · module server_http_helpers · src · 1,045 lines (817 code, 100 comment) · sha 08de0f63cdd6a116

Items

const DEFAULT_GATEWAY_MAX_BODY_BYTES const MAX_GATEWAY_MAX_BODY_BYTES const BODY_ERROR_MARKER struct BodyReadError impl BodyReadError const SESSION_COOKIE_NAME type PathParams struct MatchedHttpRoute struct HttpJsonRouteResult

Functions

By call-graph weight (PageRank; 1.0 is the average function). 75 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
parse_urlencoded_pairssrc/server_http_helpers.rs:261fn194327
parse_query_payloadsrc/server_http_helpers.rs:252fn613216.5
hex_nibblesrc/server_http_helpers.rs:125fn84205.3
percent_decode_form_componentsrc/server_http_helpers.rs:165fn31214.4
percent_decode_componentsrc/server_http_helpers.rs:134fn307114.3
parse_query_valuesrc/server_http_helpers.rs:208fn123133.5
find_http_route_by_method_namesrc/server_http_helpers.rs:712fn2431033.3
BodyReadError::statussrc/server_http_helpers.rs:52method31402.8
find_http_routesrc/server_http_helpers.rs:695fn41822.6
BodyReadError::to_http_resultsrc/server_http_helpers.rs:67method311122.6
try_parse_body_payloadsrc/server_http_helpers.rs:281fn286842.3
request_header_valuesrc/server_http_helpers.rs:310fn113402.2
bearer_token_from_authorization_headersrc/server_http_helpers.rs:416fn84302.2
descriptorsrc/server_http_helpers.rs:766fn131802.2
build_raw_webhook_payload_with_headerssrc/server_http_helpers.rs:332fn376212.1
catch_all_param_keysrc/server_http_helpers.rs:603fn41302
build_raw_webhook_payloadsrc/server_http_helpers.rs:323fn81311.8
parse_query_float_literalsrc/server_http_helpers.rs:237fn84101.7
session_token_from_cookie_headersrc/server_http_helpers.rs:442fn103301.7
read_body_limited_bytessrc/server_http_helpers.rs:102fn223461.7
inject_access_tokensrc/server_http_helpers.rs:519fn131701.6
request_method_namesrc/server_http_helpers.rs:577fn157101.6
parse_gateway_max_body_bytessrc/server_http_helpers.rs:77fn61201.6
BodyReadError::to_payloadsrc/server_http_helpers.rs:56method101101.6
gateway_max_body_bytessrc/server_http_helpers.rs:72fn41221.6
parse_query_scalar_literalsrc/server_http_helpers.rs:221fn155111.5
parse_query_json_literalsrc/server_http_helpers.rs:246fn54101.5
request_pathsrc/server_http_helpers.rs:573fn31101.4
path_pattern_matchessrc/server_http_helpers.rs:612fn275161.4
route_specificitysrc/server_http_helpers.rs:702fn93121.4
percent_decode_path_componentsrc/server_http_helpers.rs:177fn307411.4
find_ws_routesrc/server_http_helpers.rs:737fn61201.4
extract_request_tokensrc/server_http_helpers.rs:456fn31721.4
path_segmentssrc/server_http_helpers.rs:593fn42201.3
catch_all_route_positionsrc/server_http_helpers.rs:608fn31211.3
read_body_limitedsrc/server_http_helpers.rs:88fn41211.1
extract_bearer_tokensrc/server_http_helpers.rs:407fn82111.1
extract_session_cookiesrc/server_http_helpers.rs:435fn41121.1
BodyReadError::malformed_jsonsrc/server_http_helpers.rs:42method91111
path_param_keysrc/server_http_helpers.rs:598fn41201
merge_payloadsrc/server_http_helpers.rs:546fn113600.9
session_set_cookie_valuesrc/server_http_helpers.rs:468fn122200.9
session_clear_cookie_valuesrc/server_http_helpers.rs:484fn142200.9
session_revoked_by_responsesrc/server_http_helpers.rs:499fn63200.9
session_token_from_responsesrc/server_http_helpers.rs:512fn61200.9
BodyReadError::too_largesrc/server_http_helpers.rs:22method91100.7
BodyReadError::read_failedsrc/server_http_helpers.rs:32method91100.7
request_content_lengthsrc/server_http_helpers.rs:84fn31110.7
exact_segment_matchsrc/server_http_helpers.rs:640fn31100.7
fixed_path_paramssrc/server_http_helpers.rs:644fn185120.7
catch_all_path_paramssrc/server_http_helpers.rs:663fn123130.7
prefix_path_paramssrc/server_http_helpers.rs:676fn134130.7
inject_trace_idsrc/server_http_helpers.rs:533fn122100.6
try_parse_raw_webhook_payloadsrc/server_http_helpers.rs:370fn363130.5
inject_path_paramssrc/server_http_helpers.rs:560fn123100.5
transport_access_token_overrides_conflicting_payload_tokensrc/server_http_helpers.rs:755fn101020.5
exact_route_wins_over_catch_all_regardless_of_registration_ordersrc/server_http_helpers.rs:785fn101020.5
fixed_param_route_wins_over_catch_allsrc/server_http_helpers.rs:797fn101020.5
declared_http_methods_are_matchablesrc/server_http_helpers.rs:809fn152020.5
catch_all_still_matches_forwarded_pathssrc/server_http_helpers.rs:826fn121020.5
path_params_preserve_literal_plus_and_decode_percent_encoded_plussrc/server_http_helpers.rs:840fn91020.5
malformed_path_escapes_fail_closedsrc/server_http_helpers.rs:851fn102020.5
encoded_path_separators_fail_closed_for_fixed_and_catch_all_routessrc/server_http_helpers.rs:863fn173020.5
catch_all_path_params_preserve_literal_plussrc/server_http_helpers.rs:882fn81020.5
urlencoded_form_body_decodes_like_a_query_stringsrc/server_http_helpers.rs:896fn101010.5
raw_webhook_payload_preserves_body_and_signaturesrc/server_http_helpers.rs:908fn141010.5
commerce_webhook_payloads_preserve_shop_and_supplier_inputssrc/server_http_helpers.rs:924fn231010.5
raw_webhook_payload_uses_provider_header_when_query_omits_providersrc/server_http_helpers.rs:949fn111010.5
gateway_body_limit_config_defaults_and_clampssrc/server_http_helpers.rs:962fn91010.5
session_cookie_header_parses_target_pair_onlysrc/server_http_helpers.rs:973fn141010.5
bearer_authorization_header_parser_is_case_insensitive_and_strictsrc/server_http_helpers.rs:989fn61010.5
session_set_cookie_value_flags_and_secure_gatingsrc/server_http_helpers.rs:997fn131010.5
session_clear_cookie_value_expires_the_http_only_cookiesrc/server_http_helpers.rs:1012fn91010.5
only_successful_revoke_shape_requests_cookie_clearsrc/server_http_helpers.rs:1023fn51010.5
session_token_from_response_reads_both_shapes_and_ignores_tokenlesssrc/server_http_helpers.rs:1030fn151010.5

Source not readable from this process.