Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed 2 typos
  • Loading branch information
JennaHuff authored Jul 3, 2024
1 parent 530d30b commit 357aaf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ help migrating from older versions, see the [Migrating](#migrating-from-previous

Use the following attributes to configure how WebSockets behave:

* `ws-connect="<url>"` or `ws-connect="<prefix>:<url>"` - A URL to establish an `WebSocket` connection against.
* Prefixes `ws` or `wss` can optionally be specified. If not specified, HTMX defaults to add the location's scheme-type,
* `ws-connect="<url>"` or `ws-connect="<prefix>:<url>"` - A URL to establish a `WebSocket` connection against.
* Prefixes `ws` or `wss` can optionally be specified. If not specified, HTMX defaults to adding the location's scheme-type,
host and port to have browsers send cookies via websockets.
* `ws-send` - Sends a message to the nearest websocket based on the trigger value for the element (either the natural
event
Expand Down

0 comments on commit 357aaf1

Please sign in to comment.