Module webdav_handler::actix[][src]

This is supported on crate feature actix-compat only.
Expand description

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

DavBody

Body type for DavRequest.

DavRequest

http::Request compatibility.

DavResponse

http::Response compatibility.