Jörg Sommer
8703e515a9
Replace Vec<u8> by hyper::Body
...
The `hyper::Request` and `Response` used in *ruma-client* require a type
parameter that implements `hyper::body::Payload`, but no implementation
for `Vec<u8>` is provided by a crate. Therefore, the best is to use
`hyper::Body` in the macros.
2018-08-31 13:46:28 +02:00
Jimmy Cuadra
c9454caff1
Update request/response header logic for new style.
2018-05-16 00:40:51 -07:00
Jimmy Cuadra
7b1e22eea4
Rewrite Api's ToTokens impl to avoid calls to append_all with string literals.
2018-05-15 01:32:38 -07:00
Jimmy Cuadra
38746660b6
Use a custom parser for the raw input.
2018-05-12 23:56:23 -07:00
Jimmy Cuadra
b292a3e776
Improve test coverage, fix a misplaced comma bug, implement missing newtype body support for responses.
2017-07-01 16:24:44 -07:00
Jonas Platte
170e00a487
Implement setting of query parameters
2017-07-01 01:53:19 +10:00
Jimmy Cuadra
13c9daf21b
Deserialize response body.
2017-05-13 23:05:58 -07:00
Jimmy Cuadra
f48f1c1bee
Add request body to hyper requests.
2017-05-13 23:03:22 -07:00
Jimmy Cuadra
27349e57ab
Add initial implementation of macro expansion.
2017-05-13 01:56:26 -07:00
Jimmy Cuadra
d0a35341a2
Use three block form for the macro, fix some bugs, construct metadata tokens.
2017-05-13 01:16:44 -07:00
Jimmy Cuadra
bf7189048a
Use custom synom parsing.
2017-05-13 00:19:14 -07:00
Jimmy Cuadra
69522626ff
WIP
2017-05-12 17:35:31 -07:00