Add support for v2ray http upgrade transport
This commit is contained in:
16
test/v2ray_httpupgrade_test.go
Normal file
16
test/v2ray_httpupgrade_test.go
Normal 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,
|
||||
})
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user