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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -