Function wasi_experimental_http::request [−][src]
pub fn request(req: Request<Option<Bytes>>) -> Result<Response<Bytes>, Error>
Create an HTTP request and get an HTTP response.
Currently, both the request and response bodies have to be Vec<u8>
.