Skip to main content

handle_component_request

Function handle_component_request 

Source
pub async fn handle_component_request<'a>(
    store: StoreContextMut<'a, Ctx>,
    pre: InstancePre<Ctx>,
    req: Request<Incoming>,
) -> Result<Response<HyperOutgoingBody>>
Expand description

Handle a component request using WASI HTTP (copied from wash/crates/src/cli/dev.rs)