Copy link to clipboard
Copied
I need to create a network monitor, similar to Chrome Developer Tools, since Adobe AIR doesn't seem to provide that.
You can implement your own HTTP parser combined with flash.net.Socket
and you will then be able to read the headers too.
Copy link to clipboard
Copied
Maybe using NativeProcess or .ane.
Copy link to clipboard
Copied
You can implement your own HTTP parser combined with flash.net.Socket
and you will then be able to read the headers too.
Copy link to clipboard
Copied
Using the HTTPStatus event in URLLoader u can get the status code, redirect and all headers, no ?
Copy link to clipboard
Copied
yes you'll get response headers there
BUT
the main problem is controlling your own request headers
associated with HTTP methods
Following what the doc says you are mainly stuck with GET and POST
and/or request headers have limitations
imho it is a bigger headache to reuse those API for advanced stuff like a network monitor,
at least by implementing your own HTTP parsing with Sockets
you control everything and you get a better expected behaviour