/** Native upgrade metadata is retained without reconstructing the Response. */ export const FunctionUpgradeSockets = new WeakMap<Response, WebSocket>();