Skip to content
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-app-messaging/src/providers/webpush.rs

cre8-app-messaging · module providers::webpush · src · 232 lines (165 code, 40 comment) · sha db939c5fc1c1aad5

Items

struct WebPushProvider const WEBPUSH_CHANNELS const WEBPUSH_COST_CENTS const WEBPUSH_DEFAULT_TTL_SECS struct SubscriptionPayload impl MessageProvider for WebPushProvider

Functions

By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
vapid_configuredsrc/providers/webpush.rs:50fn31110.6
try_real_sendsrc/providers/webpush.rs:160fn453150.6
sender_contactsrc/providers/webpush.rs:76fn93110.6
build_payloadsrc/providers/webpush.rs:220fn134100.6
vapid_configuredsrc/providers/webpush.rs:55fn31000.5
WebPushProvider::idsrc/providers/webpush.rs:87trait impl31000.5
WebPushProvider::channelssrc/providers/webpush.rs:91trait impl31000.5
WebPushProvider::is_availablesrc/providers/webpush.rs:95trait impl31000.5
WebPushProvider::unavailable_reasonsrc/providers/webpush.rs:99trait impl31000.5
WebPushProvider::cost_cents_per_callsrc/providers/webpush.rs:103trait impl62000.5
WebPushProvider::sendsrc/providers/webpush.rs:110trait impl474030.5
try_real_sendsrc/providers/webpush.rs:207fn71000.5

Source not readable from this process.