1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-26 03:55:26 -05:00

refine outbound proxy handler interface

This commit is contained in:
Darien Raymond
2016-11-27 23:57:19 +01:00
parent 2a37c62e07
commit 14829f67f0
7 changed files with 20 additions and 44 deletions

View File

@@ -58,5 +58,5 @@ type InboundHandler interface {
// An OutboundHandler handles outbound network connection for V2Ray.
type OutboundHandler interface {
// Dispatch sends one or more Packets to its destination.
Dispatch(destination v2net.Destination, payload *alloc.Buffer, ray ray.OutboundRay) error
Dispatch(destination v2net.Destination, payload *alloc.Buffer, ray ray.OutboundRay)
}