https

package
v1.3.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPSClient

func NewHTTPSClient(config *tlcp.Config) *http.Client

NewHTTPSClient 创建TLCP HTTPS客户端

config: TLCP配置参数,不能为空。

TCP连接拨号默认 30秒超时,如你需要设置TCP 各项超时时间请使用 NewHTTPSClientDialer 方法 TLCP握手超时为 30秒,您可以转换 http.Client.Transport为 *http.Transport 手动设置时间

func NewHTTPSClientDialer

func NewHTTPSClientDialer(dialer *net.Dialer, config *tlcp.Config) *http.Client

NewHTTPSClientDialer 创建TLCP HTTPS客户端

dialer: 可靠连接的拨号器,可以用于自定义连接超时时间等参数。 config: TLCP配置参数,不能为空。 TLCP握手超时为 30秒,您可以转换 http.Client.Transport为 *http.Transport 手动设置时间

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL