Function worker::response_to_wasm
source ยท pub fn response_to_wasm<B>(res: Response<B>) -> Result<Response>Expand description
Requires http feature. Convert generic http::Response<B>
to web_sys::Response where B can be any http_body::Body