Skip to content

About

No description, website, or topics provided.

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

Hyperium (http, http-body) for WASI Preview2 HTTP

struct Guest;

impl ::wasi::exports::http::incoming_handler::Guest for Guest {
    fn handle(request: IncomingRequest, response_out: ResponseOutparam) {
        let poller = Poller::default();
        let svc: tower_service::Service</* TODO DOCUMENT */> = ...;
        wasi_hyperium::hyperium1::handle_service_call(svc, request, response_out, poller).unwrap()
    }
}

See axum-server example.

About

No description, website, or topics provided.

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages