Fixed ws and sse references in the docs (#1908)

fixed ws and sse references in the docs
This commit is contained in:
Jason Jōb 2023-10-20 10:32:40 -07:00 committed by GitHub
parent 3849854f25
commit 142b711903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -84,7 +84,7 @@ data: <div>Content to swap into your HTML page.</div>
### Test SSE Server
Htmx includes an SSE test server with many more examples of how to use Server Sent Events. Download the htmx source code from GitHub and navigate to /test/servers/sse to experiment.
Htmx includes an SSE test server with many more examples of how to use Server Sent Events. Download the htmx source code from GitHub and navigate to /test/ws-sse to experiment.
## Notes

View File

@ -44,7 +44,7 @@ Own implementations can be provided by setting `htmx.config.wsReconnectDelay` to
### Test Web Sockets Server
Htmx includes a WebSockets test server with many more examples of how to use Server Sent Events. Download the htmx source code from GitHub and navigate to /test/servers/ws to experiment.
Htmx includes a WebSockets test server with many more examples of how to use Server Sent Events. Download the htmx source code from GitHub and navigate to /test/ws-sse to experiment.
## Notes

View File

@ -103,7 +103,7 @@ If the SSE Event Stream is closed unexpectedly, browsers are supposed to attempt
### Testing SSE Connections with the Demo Server
Htmx includes a demo SSE server written in Go that will help you to see SSE in action, and begin bootstrapping your own SSE code. It is located in the /test/servers/sse folder of the htmx distribution. Look at /test/servers/ws/README.md for instructions on running and using the test server.
Htmx includes a demo SSE server written in Node.js that will help you to see SSE in action, and begin bootstrapping your own SSE code. It is located in the /test/ws-sse folder of the htmx distribution. Look at /test/ws-sse/README.md for instructions on running and using the test server.
### Migrating from Previous Versions

View File

@ -237,9 +237,9 @@ specified element, namely `htmx:wsBeforeSend` and `htmx:wsAfterSend` events when
### Testing with the Demo Server
Htmx includes a demo WebSockets server written in Go that will help you to see WebSockets in action, and begin
bootstrapping your own WebSockets code. It is located in the /test/servers/ws folder of the htmx distribution. Look at
/test/servers/ws/README.md for instructions on running and using the test server.
Htmx includes a demo WebSockets server written in Node.js that will help you to see WebSockets in action, and begin
bootstrapping your own WebSockets code. It is located in the /test/ws-sse folder of the htmx distribution. Look at
/test/ws-sse/README.md for instructions on running and using the test server.
### Migrating from Previous Versions