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
pub async fn webpush_route(
notification: Notification,
routers: Routers,
_app_state: Data<AppState>,
) -> Result<HttpResponse, ApiError>
Handle the POST /wpush/{api_version}/{token}
and POST /wpush/{token}
routes