Skip to main content

push_subscribe

Function push_subscribe 

Source
pub async fn push_subscribe(
    __arg0: State<AppState>,
    signer_ctx: SignerContext,
    __arg2: SonicJson<PushSubscribeRequest>,
) -> Result<SonicJson<PushSubscribeResponse>, ApiError>
Expand description

Register a Web Push subscription for the authenticated wallet.