INNER CODE UNIT · Rust

root_handler

FeatureProbe/FeatureProbe · server/src/http/mod.rs:135

async fn root_handler() -> Html<&'static str> {
    Html("<h1>Feature Probe Server</h1>")
}

async fn handler_404() -> impl IntoResponse {
    (StatusCode::NOT_FOUND, "")
}

#[derive(Debug, Deserialize)]
pub struct ClientParams {
    user: String,
}

#[allow(unused)]
#[derive(Debug, Deserialize)]
pub struct ToggleUpdateParams {
    sdk_key: String,
    #[serde(default)]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…