Skip to content
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

cre8-util-webpush · module send · src · 338 lines (285 code, 9 comment) · sha ddc48e90237c8c5c

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
send_pushsrc/send.rs:67fn271551.4
Urgency::header_valuesrc/send.rs:35method84201.4
serve_oncesrc/send.rs:186fn443501.3
audience_from_endpointsrc/send.rs:154fn146201.3
fake_subscriptionsrc/send.rs:179fn61410.9
push_base_headerssrc/send.rs:120fn71110.8
push_bodysrc/send.rs:128fn152120.8
push_audiencesrc/send.rs:100fn31110.7
push_vapid_tokensrc/send.rs:104fn41110.7
push_request_partssrc/send.rs:109fn101120.7
push_response_resultsrc/send.rs:144fn94100.7
urgency_headers_and_audience_parsing_cover_wire_valuessrc/send.rs:232fn121020.5
send_push_sends_empty_poke_with_vapid_headerssrc/send.rs:246fn161040.5
send_push_encrypts_non_empty_payloadsrc/send.rs:264fn131040.5
send_push_maps_provider_rejections_and_transport_errorssrc/send.rs:279fn221040.5
send_push_maps_invalid_subscription_and_crypto_failuressrc/send.rs:303fn261040.5
test_server_handles_closed_connection_before_headerssrc/send.rs:331fn71010.5

Source not readable from this process.