Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsWebtransportMultiaddr ¶ added in v0.27.0
IsWebtransportMultiaddr returns true if the given multiaddr is a well formed webtransport multiaddr. Returns the number of certhashes found.
Types ¶
type Option ¶
type Option func(*transport) error
func WithHandshakeTimeout ¶ added in v0.35.2
func WithTLSClientConfig ¶
WithTLSClientConfig sets a custom tls.Config used for dialing. This option is most useful for setting a custom tls.Config.RootCAs certificate pool. When dialing a multiaddr that contains a /certhash component, this library will set InsecureSkipVerify and overwrite the VerifyPeerCertificate callback.
Click to show internal directories.
Click to hide internal directories.