mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 06:43:48 +00:00
separate network and transport protocol
This commit is contained in:
41 files changed
+261
-321
No files matched your search
@@ -253,12 +253,6 @@ func (v *VMessInboundHandler) HandleConnection(connection internet.Connection) {
|
||||
|
||||
type Factory struct{}
|
||||
|
||||
func (v *Factory) StreamCapability() v2net.NetworkList {
|
||||
return v2net.NetworkList{
|
||||
Network: []v2net.Network{v2net.Network_TCP, v2net.Network_KCP, v2net.Network_WebSocket},
|
||||
}
|
||||
}
|
||||
|
||||
func (v *Factory) Create(space app.Space, rawConfig interface{}, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error) {
|
||||
config := rawConfig.(*Config)
|
||||
|
||||
|
||||
Reference in new issue
Block a user