We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff0fbfb commit 0efa04bCopy full SHA for 0efa04b
lib/socket.ts
@@ -17,7 +17,7 @@ type ReadyState = "opening" | "open" | "closing" | "closed";
17
export class Socket extends EventEmitter {
18
public readonly protocol: number;
19
// TODO for the next major release: do not keep the reference to the first HTTP request, as it stays in memory
20
- public readonly request: IncomingMessage;
+ public request: IncomingMessage;
21
public readonly remoteAddress: string;
22
23
public _readyState: ReadyState = "opening";
0 commit comments