mirror of https://github.com/golang/go.git
crypto/tls: clarify documentation
Clarify that the order of the list `NextProtos` matters.
This commit is contained in:
parent
5a7cfbc011
commit
4904544330
|
|
@ -424,7 +424,7 @@ type Config struct {
|
|||
// If RootCAs is nil, TLS uses the host's root CA set.
|
||||
RootCAs *x509.CertPool
|
||||
|
||||
// NextProtos is a list of supported, application level protocols.
|
||||
// NextProtos is a list of supported application level protocols, in order of preference.
|
||||
NextProtos []string
|
||||
|
||||
// ServerName is used to verify the hostname on the returned
|
||||
|
|
|
|||
Loading…
Reference in New Issue