Ruby Net::Http split write and read operation for non-blocking -


i'm new ruby , i'm looking @ using net::http class post data , read in response once i'm ready it. ideally i'd able split code 2 functions, 1 connects , writes request, , second called reading response.

is possible without third-party libraries, or using sockets? checking ruby docs sounds should do-able.


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -