1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
crates/cre8-util-webpush/src/send.rs
Items
const DEFAULT_JWT_LIFETIME_SECS const MAX_RESPONSE_BODY_BYTES struct Subscription enum Urgency impl Urgency struct PushMessage enum PushError struct PushRequestParts
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| send_pushsrc/send.rs:67 | fn | 27 | 1 | 5 | 5 | 1.4 | |
| Urgency::header_valuesrc/send.rs:35 | method | 8 | 4 | 2 | 0 | 1.4 | |
| serve_oncesrc/send.rs:186 | fn | 44 | 3 | 5 | 0 | 1.3 | |
| audience_from_endpointsrc/send.rs:154 | fn | 14 | 6 | 2 | 0 | 1.3 | |
| fake_subscriptionsrc/send.rs:179 | fn | 6 | 1 | 4 | 1 | 0.9 | |
| push_base_headerssrc/send.rs:120 | fn | 7 | 1 | 1 | 1 | 0.8 | |
| push_bodysrc/send.rs:128 | fn | 15 | 2 | 1 | 2 | 0.8 | |
| push_audiencesrc/send.rs:100 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| push_vapid_tokensrc/send.rs:104 | fn | 4 | 1 | 1 | 1 | 0.7 | |
| push_request_partssrc/send.rs:109 | fn | 10 | 1 | 1 | 2 | 0.7 | |
| push_response_resultsrc/send.rs:144 | fn | 9 | 4 | 1 | 0 | 0.7 | |
| urgency_headers_and_audience_parsing_cover_wire_valuessrc/send.rs:232 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| send_push_sends_empty_poke_with_vapid_headerssrc/send.rs:246 | fn | 16 | 1 | 0 | 4 | 0.5 | |
| send_push_encrypts_non_empty_payloadsrc/send.rs:264 | fn | 13 | 1 | 0 | 4 | 0.5 | |
| send_push_maps_provider_rejections_and_transport_errorssrc/send.rs:279 | fn | 22 | 1 | 0 | 4 | 0.5 | |
| send_push_maps_invalid_subscription_and_crypto_failuressrc/send.rs:303 | fn | 26 | 1 | 0 | 4 | 0.5 | |
| test_server_handles_closed_connection_before_headerssrc/send.rs:331 | fn | 7 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.