Jruby Truffleruby Other Rubies

Besides CRuby, httpx also supports the most popular alternative implementations of Ruby, jruby and truffleruby. There are a few things to consider when using httpx under these implementations, so this page aims at documenting useful guidelines and tips.

JRuby

As JRuby doesn’t run C-extensions, some of the plugins are unusable, as they don’t provide alternative Java extensions:

HTTP/2

jruby-openssl introduced ALPN negotiation starting with 0.12.2, which enables HTTP/2 in the sames conditions as when using CRuby (In lower versions, HTTP/1.1 will be used).

Next: FAQ