Premise: I need to have support for persistent connection too.
For many time I used rest_client, realizing now is one of more slow
Many people use HTTPparty (with some “patches” behind the scenes, to
manage long polling persistent connections), see by application example,
the good project:
My goal is to choose a gem to manage HTTP persistent connections that
is both FAST in performances and also simple/intuitive to use.
I’ve also been frustrated by how many options there are. I’ve been using
httprb with success but I often find myself having to dig deep into the
code to figure out how to e.g. inspect the response body or attach query
string parameters to a GET request. It definitely makes me miss LWP and
its associated documentation.
Hi Mike
I presume that for LWP you maybe mean the Perl module
I see your points and I confess I never yet used httrb.
Reading httprb github pages, interface seems more handy (the “chaining
way”) in comparison with fastest curb (GitHub - taf2/curb: Ruby bindings for libcurl),
but maybe just not too documented or me ignorant about curl parameters
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.