pub fn multistatus_stream_response_with_cancellation<S>(
source: S,
limits: DavMultiStatusLimits,
cancellation: DavCancellationToken,
) -> Result<DavResponse, DavMultiStatusError>Expand description
Creates a streaming 207 response that cancels shared product work when its body is dropped.
Products should pass clones of cancellation to directory enumeration and property/lock
preload operations. A transport-side client disconnect drops the response body and flips the
same token, allowing those operations to stop at their next cancellation boundary.
ยงErrors
Returns DavMultiStatusError when limits are invalid or response headers cannot be encoded.