Documentation ¶
Index ¶
- func DialWithSecuritySettings(ctx context.Context, dest net.Destination, ...) (internet.Connection, error)
- func ListenWithSecuritySettings(ctx context.Context, address net.Address, port net.Port, ...) (net.Listener, error)
- func NewALPNAwareHTTPRoundTripper(ctx context.Context, dialer DialerFunc, backdropTransport http.RoundTripper) http.RoundTripper
- func NewALPNAwareHTTPRoundTripperWithH2Pool(ctx context.Context, dialer DialerFunc, backdropTransport http.RoundTripper, ...) http.RoundTripper
- func NewUnclaimedConnection(conn net.Conn, expireTime time.Duration) *unclaimedConnection
- type DialerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialWithSecuritySettings ¶
func DialWithSecuritySettings(ctx context.Context, dest net.Destination, streamSettings *internet.MemoryStreamConfig) (internet.Connection, error)
func NewALPNAwareHTTPRoundTripper ¶
func NewALPNAwareHTTPRoundTripper(ctx context.Context, dialer DialerFunc, backdropTransport http.RoundTripper, ) http.RoundTripper
func NewALPNAwareHTTPRoundTripperWithH2Pool ¶ added in v5.17.0
func NewALPNAwareHTTPRoundTripperWithH2Pool(ctx context.Context, dialer DialerFunc, backdropTransport http.RoundTripper, h2PoolSize int, ) http.RoundTripper
NewALPNAwareHTTPRoundTripperWithH2Pool creates an instance of RoundTripper that dial to remote HTTPS endpoint with an alternative version of TLS implementation.
Types ¶
Click to show internal directories.
Click to hide internal directories.