Skip to content

Commit 92e1d72

Browse files
authored
Update README.md
1 parent 2c5da6e commit 92e1d72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,11 @@ In general, create a handler that extends WebSocketHandler, and add an endpoint
102102

103103
```
104104
HttpHandler h = new EchoWebSocketHandler();
105-
HttpContext c = server.createContext(path, h);
105+
HttpContext c = server.createContext("/ws", h);
106106
```
107107

108+
The low-level websocket api is [nanohttpd](https://github.com/NanoHttpd/nanohttpd) so there are many examples on the web.
109+
108110
## logging
109111

110112
All logging is performed using the [Java System Logger](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/System.Logger.html)

0 commit comments

Comments
 (0)