Add SplitHTTP Transport (#3412)

This commit is contained in:
mmmray 2024-06-18 07:36:36 +02:00 committed by GitHub
parent 501d5dec60
commit c10bd28731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 1288 additions and 19 deletions

View file

@ -0,0 +1,17 @@
package splithttp
import (
"context"
"github.com/xtls/xray-core/common"
)
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
const protocolName = "splithttp"
func init() {
common.Must(common.RegisterConfig((*Config)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
return nil, newError("splithttp is a transport protocol.")
}))
}