flyweb / flyweb-android

Android app for flyweb
2 stars 0 forks source link

Implement basic "proxy" server #6

Open kannanvijayan-zz opened 7 years ago

kannanvijayan-zz commented 7 years ago

To eventually support TLS connections through the app, we need a HTTP server running inside the app that handles the backend FlyWeb semantics - namely providing custom TLS authentication for FlyWeb services viewed via an Android WebView.

The basic design I'm thinking of is to use a single NIO thread to poll all the IO options. The IO sources managed are:

For now, we can worry about just forwarding plain HTTP requests, and leave the TLS handling for later.