Add support for v2ray http upgrade transport

This commit is contained in:
世界 committed 2023-11-28 11:21:44 +08:00
1 parent 2a45c178fa
commit 6d24be23da
12 files changed
+369 -20

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package main
import (
"testing"
C "github.com/sagernet/sing-box/constant"
"github.com/sagernet/sing-box/option"
)
func TestV2RayHTTPUpgrade(t *testing.T) {
t.Run("self", func(t *testing.T) {
testV2RayTransportSelf(t, &option.V2RayTransportOptions{
Type: C.V2RayTransportTypeHTTPUpgrade,
})
})
}