1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-01 23:15:21 -05:00

refactor websocket

This commit is contained in:
Darien Raymond
2017-02-16 16:53:31 +01:00
parent 020b436827
commit 935620104d
3 changed files with 15 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ func wsDial(ctx context.Context, dest v2net.Destination) (net.Conn, error) {
return nil, errors.Base(err).Message("WebSocket|Dialer: Failed to dial to (", uri, "): ", reason)
}
return &wsconn{
return &connection{
wsc: conn,
}, nil
}