crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
f680d0ac
ROOT
/
common
/
tls
/
ech_client.go
Search
History
227 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ECHClientConfig
config
:
*cftls.Config
echConnWrapper
cftls.Conn
NewECHClient
(router adapter.Router, serverAddress string, options option.OutboundTLSOptions)
:
(Config, error)
fetchECHClientConfig
(router adapter.Router)
:
func(ctx context.Context, serverName string) ([]cftls.ECHConfig, error)
*ECHClientConfig
ServerName
()
:
string
SetServerName
(serverName string)
NextProtos
()
:
[]string
SetNextProtos
(nextProto []string)
Config
()
:
(*STDConfig, error)
Client
(conn net.Conn)
:
(Conn, error)
Clone
()
:
Config
*echConnWrapper
ConnectionState
()
:
tls.ConnectionState
Upstream
()
:
any
All occurrences
Please wait...
Page is in error, reload to recover