WebSocket Support

This commit is contained in:
2024-02-14 13:53:43 +08:00
parent e40fe6049f
commit 7eee10c4ff
11 changed files with 381 additions and 112 deletions

View File

@@ -5,8 +5,11 @@ id = "root"
hosts = ["localhost"]
paths = ["/"]
[[locations.destinations]]
id = "hypertext"
uri = "https://postman-echo.com/get"
id = "websocket"
uri = "http://localhost:8765"
# [[locations.destinations]]
# id = "hypertext"
# uri = "https://example.com"
# [[locations.destinations]]
# id = "static"
# uri = "files://regions?index=index.html"
@@ -15,4 +18,4 @@ uri = "https://postman-echo.com/get"
# [[applications]]
# id = "script"
# exe = "./script.sh"
# workdir = "regions"
# workdir = "regions"