Rocket
Rocket copied to clipboard
A web framework for Rust.
This is an actual Websocket implementation. Channels, and the ability to easily send messages to a large group of clients has not been fully implemeneted. There are a few issues...
Adds support for testing which route generated a response. This is an implementation of the ideas I put forward in #1878, with a few minor changes. First, I did not...
I want to be be able to test that routes resolve correctly, given the HTTP method and URI. ``` rust #[cfg(test)] mod test { use super::*; use rocket::Router; #[test] fn...
Add support for "application/sep+xml" as known media type. It is used in the IEEE Standard for Smart Energy Profile Application Protocol (IEEE 2030.5).
This aims to close #1560
Hello, I'm fairly new to Rust/Rocket. I saw an opportunity to add a feature that would make unit testing my API a lot easier and I wanted to see what...
Solves #1070 without exposing too many APIs
Related issues: - https://github.com/SergioBenitez/Rocket/issues/95 - https://github.com/SergioBenitez/Rocket/pull/1376 - https://github.com/SergioBenitez/Rocket/issues/989 1. [rust-embed](https://github.com/pyros2097/rust-embed) - [examples](https://github.com/pyros2097/rust-embed/blob/master/examples/rocket.rs) ```rust use std::path::PathBuf; use std::ffi::OsStr; use std::io::Cursor; use rocket::{ http::{ ContentType, DateTimeOffset, EntityTagHeaderValue }, Request, response::{ self, Responder,...
Very large WIP, does nothing for now. This PR aims at eventually closing #297, or at least providing some of the requested functionality. For now I have created the traits...