> On Oct 23, 2015, at 3:05 AM, Prabhu Venkat <[email protected]> wrote:
> 
> In firebug addon for firefox there is a tab named 'Net' which captures all 
> the network calls made when we hit an URL from the browser
> 
> I can request the URL from code but i am finding ways to capture the network 
> calls being made, get the request parameters passed in the network call
> 
> Can this be done using NodeJS?=
> 
> 


Not entirely easily! That kind of tracing infrastructure is complicated and 
sometimes performance-altering, and it hasn't been built.

What I do for unencrypted connections is use tcpdump, ngrep or wireshark to 
snoop on the traffic and interpret it from a network capture.

With encrypted connections, things get much more difficult and I don't have 
great strategies short of 'attach debugger to the https library, watch what it 
does'.

Aria

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/01481FF4-9D6B-4D82-8415-76A407544D79%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to