@raggi the error handling is admittedly atrocious at the moment. I used to have a more OO API but got rid of it as it felt schizophrenic
@raggi I don't really understand pipelining, but I at least separate request/response states: https://github.com/celluloid/reel/blob/master/lib/reel/connection.rb …
-
-
@bascule it is more complex for client logic where the connection handler needs to differentiate request types -
@raggi yeah, definitely seems a lot harder client-side -
@bascule that's blood in them tears -
@bascule another aspect I remebred - although uncommon use case - sometimes I want to handle DNS myself (DNS rotation saturation) -
@raggi if this is re: my http gem, you should be able to pass in the Host header yourself and make the actual HTTP request to the IP addr -
@bascule yeah, thats worked for many other client APIs :-) -
@raggi is there a better way? - 3 more replies
New conversation -
-
-
@bascule its tricky if your doing client side batching, load balancing and mixed request typesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.