-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bytes method to Response struct (#164)
* Use a conventional struct instead of a Tuple struct The Response struct contains a reqwest::Request and a Method fields, and accessing them by position may be a bit confusing. Giving an actual name to the fields brings us the benefit of easily understanding the methods we are reading, without the need to go to the top to remember which field we are referring to. Reference: https://doc.rust-lang.org/1.9.0/book/structs.html#tuple-structs * Expose `bytes` to the Response object This patch exposes the `Response::bytes`, which is basically a wrapper on reqwest::Response::bytes(). * Add additional note on vm.max_map_count settings Closes #160
- Loading branch information
1 parent
07b5add
commit 96189a5
Showing
3 changed files
with
80 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters