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-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 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:648 | fn | 22 | 1 | 4 | 0 | 2.2 | |
| enqueue_envelopesrc/http_facade.rs:970 | fn | 3 | 1 | 5 | 0 | 2.2 | |
| native_platform_fetchsrc/http_facade.rs:288 | fn | 29 | 2 | 5 | 1 | 2 | |
| build_cache_key_with_headerssrc/http_facade.rs:929 | fn | 17 | 2 | 4 | 2 | 1.5 | |
| retry_waitsrc/http_facade.rs:345 | 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:712 | fn | 19 | 4 | 2 | 7 | 1.3 | |
| wasm_fetch_bytessrc/http_facade.rs:733 | fn | 19 | 3 | 2 | 5 | 1.3 | |
| native_get_retryingsrc/http_facade.rs:330 | fn | 13 | 2 | 4 | 2 | 1.2 | |
| expire_pending_requestsrc/http_facade.rs:634 | fn | 7 | 2 | 5 | 2 | 1.2 | |
| build_cache_keysrc/http_facade.rs:914 | fn | 13 | 4 | 1 | 0 | 1.1 | |
| native_bytes_responsesrc/http_facade.rs:370 | fn | 6 | 1 | 3 | 0 | 1.1 | |
| get_response_fetch_envelopesrc/http_facade.rs:672 | fn | 11 | 1 | 2 | 1 | 1 | |
| try_worker_syncsrc/http_facade.rs:427 | fn | 36 | 6 | 3 | 1 | 0.9 | |
| currentsrc/http_facade.rs:177 | fn | 14 | 1 | 1 | 0 | 0.9 | |
| native_bytessrc/http_facade.rs:362 | fn | 6 | 2 | 2 | 0 | 0.9 | |
| wasm_fetch_bytes_responsesrc/http_facade.rs:754 | fn | 19 | 3 | 1 | 5 | 0.9 | |
| drain_envelopessrc/http_facade.rs:974 | 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:465 | fn | 10 | 3 | 2 | 0 | 0.8 | |
| native_textsrc/http_facade.rs:354 | fn | 6 | 2 | 2 | 0 | 0.8 | |
| pending_text_responsesrc/http_facade.rs:514 | fn | 21 | 5 | 2 | 2 | 0.7 | |
| pending_bytes_responsesrc/http_facade.rs:537 | fn | 21 | 5 | 1 | 2 | 0.7 | |
| enqueue_bytes_fetchsrc/http_facade.rs:690 | 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:1039 | fn | 24 | 4 | 1 | 0 | 0.7 | |
| full_url_with_querysrc/http_facade.rs:485 | fn | 17 | 5 | 1 | 0 | 0.7 | |
| worker_sync_textsrc/http_facade.rs:504 | fn | 8 | 3 | 1 | 2 | 0.7 | |
| enqueue_text_fetchsrc/http_facade.rs:685 | fn | 3 | 1 | 1 | 3 | 0.7 | |
| pending_http_responsesrc/http_facade.rs:560 | fn | 29 | 5 | 1 | 3 | 0.7 | |
| enqueue_response_fetchsrc/http_facade.rs:701 | fn | 9 | 1 | 1 | 2 | 0.7 | |
| encode_formsrc/http_facade.rs:378 | fn | 12 | 1 | 1 | 1 | 0.6 | |
| enqueue_form_postsrc/http_facade.rs:794 | fn | 16 | 1 | 1 | 1 | 0.6 | |
| pending_json_bytes_responsesrc/http_facade.rs:591 | fn | 41 | 5 | 1 | 2 | 0.6 | |
| enqueue_json_postsrc/http_facade.rs:775 | 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:206 | trait impl | 4 | 1 | 0 | 3 | 0.5 | |
| NativeHttpFacade::fetch_text_with_headerssrc/http_facade.rs:211 | trait impl | 4 | 1 | 0 | 3 | 0.5 | |
| NativeHttpFacade::fetch_bytessrc/http_facade.rs:216 | trait impl | 4 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::fetch_bytes_with_headerssrc/http_facade.rs:221 | trait impl | 10 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::fetch_bytes_response_with_headerssrc/http_facade.rs:232 | trait impl | 10 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::can_post_json_bytessrc/http_facade.rs:243 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NativeHttpFacade::post_json_bytessrc/http_facade.rs:247 | trait impl | 11 | 1 | 0 | 2 | 0.5 | |
| NativeHttpFacade::post_form_bytessrc/http_facade.rs:259 | trait impl | 13 | 1 | 0 | 3 | 0.5 | |
| NativeHttpFacade::post_formsrc/http_facade.rs:273 | trait impl | 8 | 2 | 0 | 1 | 0.5 | |
| NativeHttpFacade::kindsrc/http_facade.rs:282 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| header_pairssrc/http_facade.rs:480 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| query_pairssrc/http_facade.rs:643 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| WasmHttpFacade::fetch_textsrc/http_facade.rs:813 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_text_with_headerssrc/http_facade.rs:817 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_bytessrc/http_facade.rs:821 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_bytes_with_headerssrc/http_facade.rs:825 | trait impl | 9 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::fetch_bytes_response_with_headerssrc/http_facade.rs:835 | trait impl | 9 | 1 | 0 | 1 | 0.5 | |
| WasmHttpFacade::can_post_json_bytessrc/http_facade.rs:845 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WasmHttpFacade::post_json_bytessrc/http_facade.rs:849 | trait impl | 34 | 5 | 0 | 6 | 0.5 | |
| WasmHttpFacade::post_formsrc/http_facade.rs:884 | trait impl | 23 | 5 | 0 | 5 | 0.5 | |
| WasmHttpFacade::kindsrc/http_facade.rs:908 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NoopHttpFacade::fetch_textsrc/http_facade.rs:1009 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NoopHttpFacade::fetch_bytessrc/http_facade.rs:1013 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NoopHttpFacade::kindsrc/http_facade.rs:1017 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| retry_wait_honors_retry_after_seconds_within_the_capsrc/http_facade.rs:1028 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| plain_gets_retry_one_rate_limit_and_nothing_elsesrc/http_facade.rs:1066 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| current_facade_resolvessrc/http_facade.rs:1083 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| shared_get_envelope_preserves_text_auth_headers_and_optionssrc/http_facade.rs:1092 | fn | 28 | 1 | 0 | 1 | 0.5 | |
| authenticated_get_cache_keys_do_not_aliassrc/http_facade.rs:1122 | fn | 27 | 1 | 0 | 1 | 0.5 | |
| metadata_get_envelope_requests_structured_response_completionsrc/http_facade.rs:1151 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| native_facade_can_constructsrc/http_facade.rs:1168 | fn | 4 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.