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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -