you don't need synchronous requests for pipelining:

http.request('url1', function(res){
  res.on('data',function(data){/*collect it*/})
  res.on('end',function(){/*eval your data and do next request*/ 
http.request('url2', func...)}
}

of course you can use async lib aswell.

Am Dienstag, 12. Februar 2013 08:51:16 UTC+1 schrieb vikram patil:
>
> Hello All,
>  
>       I am looking for HTTP client  module in node.js which can help me to 
> create  GET, POST, multipart request very simply and also that request 
> should be synchronous.
> My goal is to develop testing framework so that we can pipeline various 
> http requests to server and evaluate results . For pipelining purpose I 
> can't use asynchronous http requests.
>
> Regards,
> Vikram
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to