mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-12 06:18:16 +03:00
mitm: Add /mitm/mobileconfig and /mitm/certificate clash api endpoints
This commit is contained in:
@@ -2,6 +2,7 @@ package adapter
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/x509"
|
||||
"net"
|
||||
|
||||
N "github.com/sagernet/sing/common/network"
|
||||
@@ -9,5 +10,6 @@ import (
|
||||
|
||||
type MITMEngine interface {
|
||||
Lifecycle
|
||||
ExportCertificate() *x509.Certificate
|
||||
NewConnection(ctx context.Context, this N.Dialer, conn net.Conn, metadata InboundContext, onClose N.CloseHandlerFunc)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user