Christian Cantrell wrote an app called HTTPeek, to validate AIR 2 new ServerSocket APIs. It is a proxy server sitting between your browser and the network that shows HTTP request and response headers. HTTPeek is able to deal with content that is compressed or chunked, binary content, etc. A majority of the code for the application implements just a sufficient amount of the HTTP protocol to work as a proxy that is effective, but the code’s socket part is pretty simple.
I think Cantrell did an excellent job on the app and you can go have a look at the demo video here, less than two minutes to explain everything.
ServerSocket API In AIR 2 Demo
Previous post: Code Highlighter
Next post: Google Treats

