pub async fn screen(
protocol: &str,
response: Response,
) -> Result<Response, UpgradeRequired>Expand description
Latch a response’s window and map a 426 to UpgradeRequired; every other response is
returned untouched for its caller to read.
§Errors
UpgradeRequired for a 426, with the problem’s detail (or the body as text) as its
message.