1use actix_web::body::BoxBody;
2use actix_web::{HttpRequest, HttpResponse, Responder};
3
4pub struct Empty;
6
7impl Responder for Empty {
8 type Body = BoxBody;
9
10 fn respond_to(self, _: &HttpRequest) -> HttpResponse<Self::Body> {
11 HttpResponse::Ok().finish()
12 }
13}