Add SplitHTTP Transport (#3412)
This commit is contained in:
1 parent
501d5dec60
commit
c10bd28731
16 files changed
+1288
-19
No files matched your search
@@ -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.")
|
||||
}))
|
||||
}
|
||||
Reference in new issue
Block a user