Sean McArthur
86359a56a1
doc(readme): add merit badge
2015-04-16 11:53:15 -07:00
Martin Feckie
341f19d326
fix(README): Update to compile example against Rust beta
...
Remove unused import
res doesn't need to be mutable in parameter list
Change .listen() to string format
2015-04-04 22:58:26 +08:00
Adrian Heine
1f0bc951c9
fix(rustup): adapt to current rustc
...
Closes #381 .
2015-03-19 09:44:40 +01:00
Sean McArthur
0fd6fcd7c7
feat(hyper): switch to std::io, std::net, and std::path.
...
All instances of `old_io` and `old_path` were switched to use the new
shiny `std::io`, `std::net`, and `std::path` modules. This means that
`Request` and `Response` implement `Read` and `Write` now.
Because of the changes to `TcpListener`, this also takes the opportunity
to correct the method usage of `Server`. As with other
languages/frameworks, the server is first created with a handler, and
then a host/port is passed to a `listen` method. This reverses what
`Server` used to do.
Closes #347
BREAKING CHANGE: Check the docs. Everything was touched.
2015-03-03 14:32:03 -08:00
Jonathan Reem
9998417fe8
docs(README): Fix the example in the README.
2015-02-25 19:57:15 -08:00
Aaron Miller
63910438c6
docs(client,server): fix compilation errors with latest Rust
...
Fix compilation errors relating to mutable borrowing the status
code from an immutably borrowed response. Also add the `extern crate
hyper` and appropriate `use` lines.
2015-02-25 13:29:18 -08:00
Camille TJHOA
b5a6175bf5
docs(readme): Make the README client example work
...
`res` needs to be mutable
2015-02-10 22:44:00 +01:00
Emily Eisenberg
9b5d6aab7e
fix(readme): Make the README client example work
...
`res` needs to be unwrapped, we want to print out `body`, and `res` doesn't need to be mutable.
2015-02-06 10:09:23 -08:00
Jonathan Reem
618f95e10a
(fix) Update examples and benchmarks to remove rust-http.
2014-12-20 03:07:05 -08:00
Sean McArthur
8c83a3358e
feat(client): add a new Client struct with super powers
...
- Includes ergonomic traits like IntoUrl and IntoBody, allowing easy
usage.
- Client can have a RedirectPolicy.
- Client can have a SslVerifier.
Updated benchmarks for client. (Disabled rust-http client bench since it
hangs.)
2014-12-14 11:56:39 -08:00
Jonathan Reem
ce5acd1553
fix(readme): make the server example compile.
2014-11-19 15:33:31 -08:00
Austin Pray
69a346c491
spelling error in readme
2014-11-18 21:06:39 -06:00
jkleint
079357a8c6
Fix client example so it compiles
...
`URL::parse()` needs an `unwrap()`, the `let res = ...` needs a semicolon, and I changed the example to set a real header.
2014-11-15 17:01:48 -05:00
Sean McArthur
db24256914
update server benchmarks
2014-11-10 17:56:06 -08:00
Sean McArthur
03fb215326
update benchmarks
2014-11-10 16:11:02 -08:00
Sean McArthur
600c1e07bc
Update README.md
2014-10-23 10:38:45 -07:00
Jonathan Reem
1dcc600c5c
Add a warning about the stability of Hyper to the README.
2014-10-14 19:42:10 -07:00
Jonathan Reem
11d8b12fa3
Fixed bad reference to echo server example.
2014-09-22 17:16:30 -07:00
Jonathan Reem
80f275cbda
Move internal design overview to documentation, add examples to README
...
While the README examples are not checked by rustdoc, they are important
to have as they show-off hyper to the world :)
2014-09-22 16:48:31 -07:00
Jonathan Reem
939de07ae6
(doc) Documented the internal design of Hyper.
...
This includes a rationale and description of the overall design of
Hyper as well as providing a guide to understanding and navigating the
source.
2014-09-18 20:17:27 -07:00
Jonathan Reem
2329623096
(doc) Updated benchmarks for newest results.
...
This also adds new benchmarks for the Server and mocking the Clients.
2014-09-18 20:16:33 -07:00
Sean McArthur
06f8375491
update travis links
2014-09-18 16:48:07 -07:00
Sean McArthur
4428ec09da
update docs link
2014-09-18 16:46:58 -07:00
Sean McArthur
7e223932f4
add docs link to readme
2014-09-02 20:51:57 -07:00
Sean McArthur
b4b539091f
use Buffered Readers and Writers
2014-09-02 14:14:56 -07:00
Sean McArthur
818fac4128
add some benches with other http libs
2014-09-02 12:06:16 -07:00
Sean McArthur
c905111f8c
implementation
2014-09-01 18:39:24 -07:00
Sean McArthur
8865516816
init
2014-08-30 14:18:28 -07:00