mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-05 21:07:41 +03:00
Add net conn method to tls conn interface
This commit is contained in:
parent
b60f6390df
commit
bb61749065
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ type WithSessionIDGenerator interface {
|
||||||
|
|
||||||
type Conn interface {
|
type Conn interface {
|
||||||
net.Conn
|
net.Conn
|
||||||
|
NetConn() net.Conn
|
||||||
HandshakeContext(ctx context.Context) error
|
HandshakeContext(ctx context.Context) error
|
||||||
ConnectionState() ConnectionState
|
ConnectionState() ConnectionState
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue