mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-04 16:25:21 -05:00
handle inbound detour in vmess inbound
This commit is contained in:
@@ -13,6 +13,8 @@ type InboundConnectionHandler interface {
|
||||
Listen(port v2net.Port) error
|
||||
// Close stops the handler to accepting anymore inbound connections.
|
||||
Close()
|
||||
// Port returns the port that the handler is listening on.
|
||||
Port() v2net.Port
|
||||
}
|
||||
|
||||
// An OutboundConnectionHandler handles outbound network connection for V2Ray.
|
||||
|
||||
Reference in New Issue
Block a user