shio-rs
shio-rs copied to clipboard
Shio is a fast, simple, and asynchronous micro web-framework for Rust.
While working with Shio, I ran into an issue where I needed the `shio::http::Method` struct to implement `Clone`. The underlying `http_types::Method` type is `Clone`-able, so the wrapper data structure probably...
When registering a route with GET /test and I send a POST request to /test, the return is 404. It should be 405 Method Not Allowed.
The usage example is missing imports for `Context` and `Method` and possibly others. I read the changelog at https://github.com/mehcode/shio-rs/blob/master/CHANGELOG.md , but could not `use shio::http::{Method};` because: ``` rust | 8...
I am really liking this framework. Thanks for writing it. I started working on a MySQL example based off the Postgres example, but I'm getting stuck on how to move...
Fix issues with the tests.
If I am not mistaken, the example regarding the proxying solution will create a new client per request in https://github.com/mehcode/shio-rs/blob/master/examples/proxy/src/main.rs#L19 If I am correct - how would this be done...
What I'd like to do is something like this, so I can use some of the struct fields within the response: ``` extern crate shio; use shio::prelude::*; use shio::Handler; struct...
Following from https://github.com/hyperium/hyper/issues/1328 Currently the type signature of the shio::Response is heavily coupled to hyper::Body: ``` pub struct Response { pub inner: hyper::Response, } ``` And setting the body requires...
Hi, this is awesome work!! I was just about to start a micro services kit myself but luckily found your effort today. I am looking for some tiny layer on...
Add `context::Builder`, a helper struct for creating a `Context`. Also modify `Router` tests to use the new `Builder`. Closes #22