gate_request_method

Function gate_request_method 

Source
pub fn gate_request_method(
    request: &HttpRequest,
    snapshot: &DavCapabilitySnapshot,
) -> Result<DavMethod, DavMethodGateError>
Expand description

Applies the resource-aware dispatch gate to an Actix request method.

ยงErrors

Returns crate::DavMethodGateError when the snapshot does not dispatch the request method.