Thanks but its not known how many requests I am going to make ... e.g. if
code reads a file will multiple http request it may or may not pipeline
results based on
configuration specified in that file. So my implementation is around
synchronous http requests and it analyzes result structure using rules
specified for that
request and then use result to update input param for next request.
On Tuesday, February 12, 2013 4:29:43 PM UTC+5:30, greelgorke wrote:
>
> 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.