Lines Matching refs:kState
72 const kState = Symbol('state'); constant
192 if (request !== undefined && request[kState].closed === false) {
296 const state = req[kState];
321 this[kState] = {
355 this[kState].closed ||
404 const state = this[kState];
443 if (!this[kState].closed)
459 const state = res[kState];
478 this[kState] = {
508 const state = this[kState];
513 const state = this[kState];
520 if (this[kState].closed)
543 return this[kState].sendDate;
547 this[kState].sendDate = Boolean(bool);
551 return this[kState].statusCode;
576 this[kState].statusCode = code;
624 this[kState].sendDate = false;
667 const state = this[kState];
673 const state = this[kState];
726 const state = this[kState];
757 const state = this[kState];
789 this.writeHead(this[kState].statusCode);
791 if (this[kState].closed || stream.destroyed)
800 if (this[kState].destroyed)
803 this[kState].destroyed = true;
808 if (this[kState].closed)
815 if (this[kState].closed) {
829 const state = this[kState];
843 if (stream.headersSent || this[kState].closed)
870 if (stream.headersSent || this[kState].closed)