sing-box/common/badtls/conn.go
2022-10-01 11:29:46 +08:00

14 lines
181 B
Go

package badtls
import (
"context"
"crypto/tls"
"net"
)
type TLSConn interface {
net.Conn
HandshakeContext(ctx context.Context) error
ConnectionState() tls.ConnectionState
}