autoendpoint::routes::webpush

Function webpush_route

source
pub async fn webpush_route(
    notification: Notification,
    routers: Routers,
    _app_state: Data<AppState>,
) -> Result<HttpResponse, ApiError>
Expand description

Handle the POST /wpush/{api_version}/{token} and POST /wpush/{token} routes