Implement ClientRequest.writable

This commit is contained in:
Kai Tamkun
2025-01-31 17:03:20 -08:00
parent 6e039accf5
commit ac7af3fa33

View File

@@ -3031,6 +3031,10 @@ const ClientRequestPrototype = {
set aborted(value) {
this[abortedSymbol] = value;
},
get writable() {
return !this[finishedSymbol];
},
};
ClientRequest.prototype = ClientRequestPrototype;