mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-02-04 15:25:24 -05:00
close method for inbound connection handler
This commit is contained in:
@@ -12,6 +12,7 @@ type InboundConnectionHandler interface {
|
||||
// Listen starts a InboundConnectionHandler by listen on a specific port. This method is called
|
||||
// exactly once during runtime.
|
||||
Listen(port v2net.Port) error
|
||||
Close()
|
||||
}
|
||||
|
||||
// An OutboundConnectionHandler handles outbound network connection for V2Ray.
|
||||
|
||||
Reference in New Issue
Block a user