1
0
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:
v2ray
2016-01-19 23:41:40 +01:00
parent 573d0a9c29
commit b0adb24003
13 changed files with 163 additions and 75 deletions

View File

@@ -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.