6 releases
new 0.0.7 | May 8, 2024 |
---|---|
0.0.6 | May 8, 2024 |
0.0.5 | Apr 29, 2024 |
#223 in WebAssembly
407 downloads per month
35KB
794 lines
Helpers for building HTTP-APIs with Fermyon Spin
This crate contributes the following capabilities to the Spin SDK for Rust:
- Creating cookies
- Cross-Origin Resource-Sharing (CORS)
- Response helpers to produce common HTTP responses
- Request helpers to examine incoming HTTP requests
Examples
Tale a look at the examples
folder.
lib.rs
:
Helpers for building HTTP-APIs with Fermyon Spin
spin-contrib-http
contributes the following capabilities to the Spin SDK for Rust:
- Creating cookies
- Cross-Origin Resource-Sharing (CORS)
- Response helpers to produce common HTTP responses
- Request helpers to examine incoming HTTP requests
Dependencies
~2–2.9MB
~55K SLoC