Skip to content

Commit 7de87a3

Browse files
authored
docs(websockets): include explicit /sni/ example
1 parent 70441fa commit 7de87a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

websockets/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Examples:
6262

6363
* `/ip4/192.0.2.0/tcp/1234/ws` (an insecure address with a TCP port)
6464
* `/ip4/192.0.2.0/tcp/1234/tls/ws` (a secure address with a TCP port)
65+
* `/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)
6566
* `/ip4/192.0.2.0/ws` (an insecure address that defaults to TCP port 80)
6667
* `/ip4/192.0.2.0/tls/ws` (a secure address that defaults to TCP port 443)
6768
* `/ip4/192.0.2.0/wss` (`/tls` may be omitted when using `/wss`)

0 commit comments

Comments
 (0)