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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user