mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-23 15:34:20 +01:00
* base: share WebSocket framing across tunnel transports Extracts the RFC 6455 frame parser and encoder into the shared IPC layer so node IPC sockets and browser tunnel connections use the same implementation. - Supports masked client frames, fragmented messages, extended payload lengths, control frames, close handshakes, and protocol validation. - Removes the websocket framing package and its browser compatibility shims from the Dev Tunnels web bundle. - Adds focused coverage for the shared codec and browser tunnel transport. (Commit message generated by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * base: harden shared WebSocket framing Addresses review feedback for lifecycle, resource limits, and high-throughput IPC performance in the shared RFC 6455 implementation. - Restores browser client frame, message, and close-handshake limits. - Adds zero-copy in-place unmasking for the Node IPC path. - Handles Pong frames explicitly and adds focused regression coverage. (Commit message generated by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
718 B
JavaScript
16 lines
718 B
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { TunnelManagementHttpClient, ManagementApiVersions } from '@microsoft/dev-tunnels-management';
|
|
import { TunnelRelayTunnelClient } from '@microsoft/dev-tunnels-connections';
|
|
import { TunnelAccessScopes } from '@microsoft/dev-tunnels-contracts';
|
|
|
|
export {
|
|
TunnelManagementHttpClient,
|
|
ManagementApiVersions,
|
|
TunnelRelayTunnelClient,
|
|
TunnelAccessScopes,
|
|
};
|