Skip to content

Commit 2cfbeb8

Browse files
authored
Update README.md
1 parent d09d883 commit 2cfbeb8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ This is a tiny reverse proxy made completely in Java and based on Undertow. It w
55

66
```java
77
//Create tiny reverse proxy
8+
int port = 20726;
9+
String host = "localhost";
810
TinyReverseProxy reverseProxy = new TinyReverseProxy(host, port);
911

1012
//Add paths - SEPIA defaults for custom-bundle:
@@ -16,4 +18,6 @@ reverseProxy.addPrefixPath("/sepia/chat", "http://localhost:20723");
1618
reverseProxy.start();
1719
```
1820

19-
Be sure to check-out the source to tweak the number of possible threads for more performance.
21+
Be sure to check-out the source to tweak the number of possible threads for more performance.
22+
23+
Good to know: Thanks to Undertow it also works as with WebSocket servers out-of-the-box :-)

0 commit comments

Comments
 (0)