Lines Matching refs:kState
53 const kState = Symbol('state'); constant
170 if (request !== undefined && request[kState].closed === false) {
267 const state = req[kState];
292 this[kState] = {
326 this[kState].closed ||
375 const state = this[kState];
414 if (!this[kState].closed)
430 const state = res[kState];
449 this[kState] = {
478 const state = this[kState];
483 const state = this[kState];
490 if (this[kState].closed)
513 return this[kState].sendDate;
517 this[kState].sendDate = Boolean(bool);
521 return this[kState].statusCode;
546 this[kState].statusCode = code;
594 this[kState].sendDate = false;
632 const state = this[kState];
638 const state = this[kState];
681 const state = this[kState];
712 const state = this[kState];
744 this.writeHead(this[kState].statusCode);
746 if (this[kState].closed || stream.destroyed)
755 if (this[kState].destroyed)
758 this[kState].destroyed = true;
763 if (this[kState].closed)
771 if (this[kState].closed) {
785 const state = this[kState];
799 if (stream.headersSent || this[kState].closed)