use actix_web::HttpResponse; async fn index() -> HttpResponse { HttpResponse::Ok() .content_type("plain/text") .header("X-Hdr", "sample") .body("data") } ...
確定! 回上一頁