File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -903,9 +903,10 @@ changes:
903903 An array of strings, ` Buffer ` s or ` TypedArray ` s or ` DataView ` s, or a
904904 single ` Buffer ` or ` TypedArray ` or ` DataView ` containing the supported ALPN
905905 protocols. ` Buffer ` s should have the format ` [len][name][len][name]... `
906- e.g. ` 0x05hello0x05world ` , where the first byte is the length of the next
907- protocol name. Passing an array is usually much simpler, e.g.
908- ` ['hello', 'world'] ` .
906+ e.g. ` '\x08http/1.1\x08http/1.0' ` , where the ` len ` byte is the length of the
907+ next protocol name. Passing an array is usually much simpler, e.g.
908+ ` ['http/1.1', 'http/1.0'] ` . Protocols earlier in the list have higher
909+ preference than those later.
909910 * ` servername ` : {string} Server name for the SNI (Server Name Indication) TLS
910911 extension. It is the name of the host being connected to, and must be a host
911912 name, and not an IP address. It can be used by a multi-homed server to
You can’t perform that action at this time.
0 commit comments