[][src]Module webdav_handler::actix

This is supported on feature="actix-compat" only.

Adapters to use the standard http types with Actix.

Using the adapters in this crate, it's easy to build a webdav handler for actix:

use webdav_handler::{DavHandler, actix::DavRequest, actix::DavResponse};
use actix_web::web;

pub async fn dav_handler(req: DavRequest, davhandler: web::Data<DavHandler>) -> DavResponse {
    davhandler.handle(req.request).await.into()
}

Structs

DavBodyfeature="actix-compat"

Body type for DavRequest.

DavRequestfeature="actix-compat"

http::Request compatibility.

DavResponsefeature="actix-compat"

http::Response compatibility.