Add support for v2ray http upgrade transport

This commit is contained in:
世界
2023-10-31 18:24:05 +08:00
parent 32ab69669b
commit 5e4b49366b
15 changed files with 391 additions and 34 deletions

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,
})
})
}