-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal HTTP functionality #13
Comments
Hi @lobo-tuerto The idea behind this plugin was to have a pure WebSocket server. I'm seeing two ways to do this:
Serving files from a Phone to a PC is something that interest me as well. For the time being you can use cordova-plugin-httpd |
Well, thanks for the reply! Yeah I was having a look around during the weekend and came to the conclusion that NanoHTTPD is a pretty good option (for Android) as it already support HTTP + WS. And I had a look at cordova-plugin-httpd and wrote a quick demo with it (but still missing WS). So I was planning on using both plugins (cordova-plugin-httpd and yours) in the same app, but I think it would be better to just have one that does HTTP & WS. If you are planning on writing a new plugin I might be able to help, at least in API & feature design. |
FYI, I will try nanohttp and cocoahttpserver this week or sometime very soon hopefully. |
I don't like much nanohttpd's websocket server implementation. |
I've got some bad news. I'm not happy with my tests. |
All right, thanks for trying though! I don't have much time on my hands these days too, but will see if I can come up with something later. Cheers! |
Hello,
I was wondering if it would be possible (and how difficult) to add minimal HTTP functionality to this server.
The use case would be: to be able to get HTML files from it.
This in turn could allow your Cordova app to serve the initial files to establish a connection, say from your PC to your phone (similar to what the AirDroid app does).
The text was updated successfully, but these errors were encountered: