1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

improve client test, I think we are OK, both gorilla(websocket) and ws(websocket2) have the same API, it's time to combine them but first let's give a lower level of api available for users if they want to manage the routines by theirselves (i.e on unix they can use netpolls manually)

Former-commit-id: 3209a7490939bce913732c1375190b0771ba63ae
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-02-19 22:49:16 +02:00
parent 65c1fbf7f2
commit c477251d1f
7 changed files with 160 additions and 88 deletions

View File

@@ -63,10 +63,10 @@ func newApp() *iris.Application {
func main() {
app := newApp()
// 1. open the browser (no in private mode)
// 1. open the browser
// 2. navigate to http://localhost:8080
// 3. refresh the page some times
// 4. close the browser
// 5. re-open the browser and re-play 2.
// 5. re-open the browser (if it wasn't in private mode) and re-play 2.
app.Run(iris.Addr(":8080"))
}