Skip to content

Commit

Permalink
Mention http-parser and FFI bindings in README
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg authored and ixti committed Jan 13, 2020
1 parent 968e4f4 commit d754159
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -18,13 +18,14 @@ HTTP (The Gem! a.k.a. http.rb) is an easy-to-use client library for making reque
from Ruby. It uses a simple method chaining system for building requests, similar to
Python's [Requests].

Under the hood, http.rb uses [http_parser.rb], a fast HTTP parsing native
extension based on the Node.js parser and a Java port thereof. This library
Under the hood, via [Ruby FFI bindings][http-parser-ffi], http.rb uses the Node.js
[http-parser], a fast HTTP parsing native extension. This library
isn't just yet another wrapper around Net::HTTP. It implements the HTTP protocol
natively and outsources the parsing to native extensions.

[requests]: http://docs.python-requests.org/en/latest/
[http_parser.rb]: https://github.com/tmm1/http_parser.rb
[http-parser]: https://github.com/nodejs/http-parser
[http-parser-ffi]: https://github.com/cotag/http-parser


## Another Ruby HTTP library? Why should I care?
Expand Down

0 comments on commit d754159

Please sign in to comment.