Skip to content

Commit

Permalink
Merge pull request #639 from libp2p/chore-add-sni-example
Browse files Browse the repository at this point in the history
docs(websockets): include explicit /sni/ example
  • Loading branch information
MarcoPolo authored Nov 5, 2024
2 parents 70441fa + 7de87a3 commit 18a0ed5
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 18a0ed5

Please sign in to comment.