about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2019-02-26 docs(README): Add badges for travis, docs.rs and crates.ioVincent Ambo1-0/+4
2019-02-26 chore(build): Configure Travis CI buildsVincent Ambo1-0/+2
2019-02-26 chore(cargo): Prepare Cargo manifest for crate releaseVincent Ambo1-0/+4
2019-02-26 chore: License under GPL-3.0-or-laterVincent Ambo3-0/+692
2019-02-26 docs: Update README, add contribution guidelines & CoCVincent Ambo3-1/+145
... getting all the docs in order for publication ...
2019-02-26 feat: Split `tls_key_password` into a separate functionVincent Ambo1-8/+11
WHen configuring a PKCS12 certificate it is more useful to be able to set this separately, as the `tls_client_key` function is never called.
2019-02-26 feat: Add utility functions for TLS client certificate usageVincent Ambo1-0/+45
2019-02-26 test: Add test for token-based authentication (bearer_auth)Vincent Ambo1-0/+9
2019-02-26 docs(lib): Document available features and update exampleVincent Ambo1-7/+20
2019-02-26 feat: Add optional `Request::basic_auth` utility functionVincent Ambo3-1/+29
This function adds a dependency on `base64` and is thus gated behind the (enabled by default) `basic_auth` feature.
2019-02-26 feat: Add Response::is_success utility methodVincent Ambo2-1/+9
2019-02-26 feat: Add `bearer_auth` helper functionVincent Ambo1-1/+8
Adds a helper function for setting `Bearer`-tokens in `Authorization` headers.
2019-02-26 feat: Add support for form-encoded POST bodiesVincent Ambo1-8/+57
2019-02-26 refactor: Move URL & method configuration to send()Vincent Ambo2-25/+25
This lets the builder proceed without returning a `Result` from the initial call, which makes for a slightly nicer API.
2019-02-26 docs(lib): Update docstrings for rustdoc outputVincent Ambo1-19/+63
2019-02-26 test: Add tests for HTTP verbs & POSTing dataVincent Ambo1-0/+94
2019-02-26 fix: Correctly configure body sizes before setting read_functionVincent Ambo1-8/+15
2019-02-26 refactor: Use `mut self`-consuming builder functionsVincent Ambo1-5/+4
Writing the functions this way makes it slightly nicer to chain them without having to assign the request to an intermediate variable.
2019-02-26 refactor: Introduce `json` feature and make it optionalVincent Ambo2-7/+18
Gates support for `serde_json` behind a Cargo feature called `json` that is enabled by default.
2019-02-26 feat: Support JSON body serialization in requests & responsesVincent Ambo2-13/+66
Uses `serde_json` to provide serialisation and deserialisation of request/response bodies.
2019-02-26 feat: Initial check-in of working client layerVincent Ambo4-0/+181
2019-02-25 chore: Initial commitVincent Ambo0-0/+0