Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

normalize_envelope

cre8_app_gateway::server_response::normalize_envelope

fn · cre8-app-gateway · crates/cre8-app-gateway/src/server_response.rs:374

15lines
3cyclomatic
1max nesting
7statements
0? exits
3params
2callers
6callees
9.4 (p100)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (2 direct callers, 6 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

path · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 siterespond_json_requestapp-conduit · cc 1cre8_app_conduit::http::http_common::respond_json_requestserialize_direct_http_respo…app-gateway · cc 6cre8_app_gateway::server_http_runtime::serialize_direct_http_responserespond_gateway_backpressureapp-gateway · cc 2cre8_app_gateway::server_http_workers::respond_gateway_backpressurerouted_response_envelopeapp-gateway · cc 2cre8_app_gateway::server_http_matched::routed_response_envelopedispatch_matched_http_routeapp-gateway · cc 3cre8_app_gateway::server_http_matched::dispatch_matched_http_routetry_handle_raw_http_routeapp-gateway · cc 3cre8_app_gateway::server_http_raw::try_handle_raw_http_routespawn_http_request_loopapp-gateway · cc 19cre8_app_gateway::server_http_runtime::spawn_http_request_loopnormalize_envelope_adds_ok_…app-gateway · cc 1cre8_app_gateway::server::tests::normalize_envelope_adds_ok_and_data_when_missingnormalize_envelope_uses_con…app-gateway · cc 1cre8_app_gateway::server::tests::normalize_envelope_uses_connection_payload_as_data_when_presentnormalize_envelope_preserve…app-gateway · cc 1cre8_app_gateway::server::tests::normalize_envelope_preserves_existing_oknormalize_response_envelopeapp-gateway · cc 1cre8_app_gateway::server_response::normalize_response_envelopenormalize_poll_patch_envelo…app-gateway · cc 1cre8_app_gateway::server_response::normalize_poll_patch_envelopenormalize_envelopeapp-gateway · cc 3cre8_app_gateway::server_response::normalize_envelopeis_success_statusapp-gateway · cc 1cre8_app_gateway::server_response::is_success_statusresponse_object_or_dataapp-gateway · cc 3cre8_app_gateway::server_response::response_object_or_datadata_envelope_jsonapp-gateway · cc 1cre8_app_gateway::server_response::data_envelope_jsonensure_ok_fieldapp-gateway · cc 2cre8_app_gateway::server_response::ensure_ok_fieldensure_data_fieldapp-gateway · cc 3cre8_app_gateway::server_response::ensure_data_fieldensure_error_fieldapp-gateway · cc 4cre8_app_gateway::server_response::ensure_error_fieldenvelope_error_textapp-gateway · cc 1cre8_app_gateway::server_response::envelope_error_text

Control flow

Source not readable from this process.

Callers 2

Callees 6

Source not readable from this process.