mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-28 03:45:26 -05:00
InboundHandler.Proxy()
This commit is contained in:
@@ -120,6 +120,12 @@ func New(ctx context.Context, config *Config) (*VMessInboundHandler, error) {
|
||||
return handler, nil
|
||||
}
|
||||
|
||||
func (v *VMessInboundHandler) Network() net.NetworkList {
|
||||
return net.NetworkList{
|
||||
Network: []net.Network{net.Network_TCP},
|
||||
}
|
||||
}
|
||||
|
||||
func (v *VMessInboundHandler) Port() net.Port {
|
||||
return v.meta.Port
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user