mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-06 22:13:52 -05:00
docs(websockets): include explicit /sni/ example
This commit is contained in:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user