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
crates/cre8-runtime-system/src/http_facade.rs
Items
struct FetchOptions impl Default for FetchOptions struct HttpBytesResponse impl HttpBytesResponse trait HttpFacade static NATIVE_FACADE struct NativeHttpFacade impl HttpFacade for NativeHttpFacade const FACADE_EGRESS const MAX_RETRY_WAIT static WASM_FACADE struct WasmHttpFacade impl HttpFacade for WasmHttpFacade static NOOP_FACADE struct NoopHttpFacade impl HttpFacade for NoopHttpFacade
Functions
By call-graph weight (PageRank; 1.0 is the average function). 74 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| get_fetch_envelopesrc/http_facade.rs:661 | fn | 22 | 1 | 4 | 0 | 2.2 | |
| enqueue_envelopesrc/http_facade.rs:983 | fn | 3 | 1 | 5 | 0 | 2.2 | |
| native_platform_fetchsrc/http_facade.rs:289 | fn | 32 | 2 | 5 | 2 | 2 | |
| build_cache_key_with_headerssrc/http_facade.rs:942 | fn | 17 | 2 | 4 | 2 | 1.5 | |
| retry_waitsrc/http_facade.rs:358 | fn | 7 | 1 | 2 | 0 | 1.4 | |
| FetchOptions::defaultsrc/http_facade.rs:53 | trait impl | 8 | 1 | 5 | 0 | 1.4 | |
| wasm_fetch_textsrc/http_facade.rs:725 | fn | 19 | 4 | 2 | 7 | 1.3 | |
| wasm_fetch_bytessrc/http_facade.rs:746 | fn | 19 | 3 | 2 | 5 | 1.3 | |
| native_get_retryingsrc/http_facade.rs:343 | fn | 13 | 2 | 4 | 2 | 1.2 | |
| expire_pending_requestsrc/http_facade.rs:647 | fn | 7 | 2 | 5 | 2 | 1.2 | |
| build_cache_keysrc/http_facade.rs:927 | fn | 13 | 4 | 1 | 0 | 1.1 | |
| native_bytes_responsesrc/http_facade.rs:383 | fn | 6 | 1 | 3 | 0 | 1.1 | |
| get_response_fetch_envelopesrc/http_facade.rs:685 | fn | 11 | 1 | 2 | 1 | 1 | |
| try_worker_syncsrc/http_facade.rs:440 | fn | 36 | 6 | 3 | 1 | 0.9 | |
| currentsrc/http_facade.rs:177 | fn | 14 | 1 | 1 | 0 | 0.9 | |
| native_bytessrc/http_facade.rs:375 | fn | 6 | 2 | 2 | 0 | 0.9 | |
| wasm_fetch_bytes_responsesrc/http_facade.rs:767 | fn | 19 | 3 | 1 | 5 | 0.9 | |
| drain_envelopessrc/http_facade.rs:987 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| HttpBytesResponse::ok_with_bodysrc/http_facade.rs:77 | method | 3 | 1 | 2 | 0 | 0.9 | |
| header_objectsrc/http_facade.rs:478 | fn | 10 | 3 | 2 | 0 | 0.8 | |
| native_textsrc/http_facade.rs:367 | fn | 6 | 2 | 2 | 0 | 0.8 | |
| pending_text_responsesrc/http_facade.rs:527 | fn | 21 | 5 | 2 | 2 | 0.7 | |
| pending_bytes_responsesrc/http_facade.rs:550 | fn | 21 | 5 | 1 | 2 | 0.7 | |
| enqueue_bytes_fetchsrc/http_facade.rs:703 | fn | 9 | 1 | 1 | 2 | 0.7 | |
| HttpFacade::fetch_bytes_with_headerssrc/http_facade.rs:101 | trait default | 10 | 1 | 1 | 0 | 0.7 | |
| serve_sequencesrc/http_facade.rs:1052 | fn | 24 | 4 | 1 | 0 | 0.7 | |
| full_url_with_querysrc/http_facade.rs:498 | fn | 17 | 5 | 1 | 0 | 0.7 | |
| worker_sync_textsrc/http_facade.rs:517 | fn | 8 | 3 | 1 | 2 | 0.7 | |
| enqueue_text_fetchsrc/http_facade.rs:698 | fn | 3 | 1 | 1 | 3 | 0.7 | |
| pending_http_responsesrc/http_facade.rs:573 | fn | 29 | 5 | 1 | 3 | 0.6 | |
| enqueue_response_fetchsrc/http_facade.rs:714 | fn | 9 | 1 | 1 | 2 | 0.6 | |
| encode_formsrc/http_facade.rs:391 | fn | 12 | 1 | 1 | 1 | 0.6 | |
| enqueue_form_postsrc/http_facade.rs:807 | fn | 16 | 1 | 1 | 1 | 0.6 | |
| pending_json_bytes_responsesrc/http_facade.rs:604 | fn | 41 | 5 | 1 | 2 | 0.6 | |
| enqueue_json_postsrc/http_facade.rs:788 | fn | 17 | 1 | 1 | 1 | 0.6 | |
| HttpBytesResponse::headersrc/http_facade.rs:73 | method | 3 | 1 | 0 | 0 | 0.5 | |
| HttpFacade::fetch_text_with_headerssrc/http_facade.rs:90 | trait default | 4 | 1 | 0 | 0 | 0.5 | |
| HttpFacade::fetch_bytes_response_with_headerssrc/http_facade.rs:115 | trait default | 9 | 1 | 0 | 2 | 0.5 | |
| HttpFacade::can_post_json_bytessrc/http_facade.rs:127 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| HttpFacade::post_json_bytessrc/http_facade.rs:132 | trait default | 10 | 1 | 0 | 0 | 0.5 | |
| HttpFacade::post_form_bytessrc/http_facade.rs:144 | trait default | 10 | 1 | 0 | 0 | 0.5 | |
| HttpFacade::post_formsrc/http_facade.rs:158 | trait default | 4 | 1 | 0 | 0 | 0.5 | |
| HttpFacade::fetch_jsonsrc/http_facade.rs:164 | trait default | 4 | 1 | 0 | 0 | 0.5 | |
| NativeHttpFacade::fetch_textsrc/http_facade.rs:207 | trait impl | 4 | 1 | 0 | 3 | 0.5 | |
| NativeHttpFacade::fetch_text_with_headerssrc/http_facade.rs:212 | trait impl | 4 | 1 | 0 | 3 | 0.5 | |
| NativeHttpFacade::fetch_bytessrc/http_facade.rs:217 | trait impl | 4 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::fetch_bytes_with_headerssrc/http_facade.rs:222 | trait impl | 10 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::fetch_bytes_response_with_headerssrc/http_facade.rs:233 | trait impl | 10 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::can_post_json_bytessrc/http_facade.rs:244 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NativeHttpFacade::post_json_bytessrc/http_facade.rs:248 | trait impl | 11 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::post_form_bytessrc/http_facade.rs:260 | trait impl | 13 | 1 | 0 | 3 | 0.5 | |
| NativeHttpFacade::post_formsrc/http_facade.rs:274 | trait impl | 8 | 2 | 0 | 1 | 0.5 | |
| NativeHttpFacade::kindsrc/http_facade.rs:283 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| header_pairssrc/http_facade.rs:493 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| query_pairssrc/http_facade.rs:656 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| WasmHttpFacade::fetch_textsrc/http_facade.rs:826 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_text_with_headerssrc/http_facade.rs:830 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_bytessrc/http_facade.rs:834 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_bytes_with_headerssrc/http_facade.rs:838 | trait impl | 9 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_bytes_response_with_headerssrc/http_facade.rs:848 | trait impl | 9 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::can_post_json_bytessrc/http_facade.rs:858 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WasmHttpFacade::post_json_bytessrc/http_facade.rs:862 | trait impl | 34 | 5 | 0 | 6 | 0.5 | |
| WasmHttpFacade::post_formsrc/http_facade.rs:897 | trait impl | 23 | 5 | 0 | 5 | 0.5 | |
| WasmHttpFacade::kindsrc/http_facade.rs:921 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NoopHttpFacade::fetch_textsrc/http_facade.rs:1022 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NoopHttpFacade::fetch_bytessrc/http_facade.rs:1026 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NoopHttpFacade::kindsrc/http_facade.rs:1030 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| retry_wait_honors_retry_after_seconds_within_the_capsrc/http_facade.rs:1041 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| plain_gets_retry_one_rate_limit_and_nothing_elsesrc/http_facade.rs:1079 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| current_facade_resolvessrc/http_facade.rs:1096 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| shared_get_envelope_preserves_text_auth_headers_and_optionssrc/http_facade.rs:1105 | fn | 28 | 1 | 0 | 1 | 0.5 | |
| authenticated_get_cache_keys_do_not_aliassrc/http_facade.rs:1135 | fn | 27 | 1 | 0 | 1 | 0.5 | |
| metadata_get_envelope_requests_structured_response_completionsrc/http_facade.rs:1164 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| native_facade_can_constructsrc/http_facade.rs:1181 | fn | 4 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.