Closed jondong closed 9 years ago
How to deal with 2 or more WebView instances? Or we will support only one in a application?
I suppose this is guaranteed by our implementation, as key.httpd is a static class property. The old implementation always hang on multiple resource loadings, I haven't decided if we need to spend much effort on debugging the http embedding server.
Sorry, my comment is unclear. I mean the port number of swifter here is fixed(8080), so 2 server can't be started on the same port. If swifter can't support dynamic port, we make a server global for all webviews.
Swifter is an swift written http server which is tiny and fast. We use it to replace the built-in simple http server for easier maintainance.
Swifter: https://github.com/glock45/swifter.git