icyleaf / halite

💎HTTP Requests Client with a chainable REST API, built-in sessions and middlewares.
MIT License
171 stars 13 forks source link

Support persistant connections #78

Open watzon opened 5 years ago

watzon commented 5 years ago

Persisting connections can dramatically reduce request time. I'm not sure if Halite is already doing this, but it might be something to look into if not. Here is an example of a Ruby gem that does it.

icyleaf commented 5 years ago

This may depend on crystal-lang/crystal#6011 or rewrite HTTP connection which i was doing it #58

watzon commented 5 years ago

Rolling your own HTTP implementation is pretty awesome. Looks like crystal-lang/crystal#6011 may take a while, so that might be exactly what you need