Skip to content

Commit

Permalink
docs(websockets): include explicit /sni/ example
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel authored Oct 31, 2024
1 parent 70441fa commit 7de87a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions websockets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Examples:

* `/ip4/192.0.2.0/tcp/1234/ws` (an insecure address with a TCP port)
* `/ip4/192.0.2.0/tcp/1234/tls/ws` (a secure address with a TCP port)
* `/ip4/192.0.2.0/tcp/1234/tls/sni/foo.example.com/ws` (a secure address with resolved DNS address with explicit SNI value for TLS)
* `/ip4/192.0.2.0/ws` (an insecure address that defaults to TCP port 80)
* `/ip4/192.0.2.0/tls/ws` (a secure address that defaults to TCP port 443)
* `/ip4/192.0.2.0/wss` (`/tls` may be omitted when using `/wss`)
Expand Down

0 comments on commit 7de87a3

Please sign in to comment.