Crate picoserve

source ·
Expand description

An async no_std HTTP server suitable for bare-metal environments, heavily inspired by axum.

It was designed with embassy on the Raspberry Pi Pico W in mind, but should work with other embedded runtimes and hardware.

For examples on how to use picoserve, see the examples directory

Re-exports§

Modules§

Structs§

Enums§

  • Errors arising while handling a request.
  • After the response has been sent, should the connection be kept open to allow the client to make further requests on the same TCP connection?

Functions§

  • Serve incoming requests read from reader, route them to app, and write responses to writer. App has no state.
  • Serve incoming requests read from reader, route them to app, and write responses to writer. App has a state of State.