symbols.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. module.exports = {
  2. kClose: Symbol('close'),
  3. kDestroy: Symbol('destroy'),
  4. kDispatch: Symbol('dispatch'),
  5. kUrl: Symbol('url'),
  6. kWriting: Symbol('writing'),
  7. kResuming: Symbol('resuming'),
  8. kQueue: Symbol('queue'),
  9. kConnect: Symbol('connect'),
  10. kConnecting: Symbol('connecting'),
  11. kHeadersList: Symbol('headers list'),
  12. kKeepAliveDefaultTimeout: Symbol('default keep alive timeout'),
  13. kKeepAliveMaxTimeout: Symbol('max keep alive timeout'),
  14. kKeepAliveTimeoutThreshold: Symbol('keep alive timeout threshold'),
  15. kKeepAliveTimeoutValue: Symbol('keep alive timeout'),
  16. kKeepAlive: Symbol('keep alive'),
  17. kHeadersTimeout: Symbol('headers timeout'),
  18. kBodyTimeout: Symbol('body timeout'),
  19. kServerName: Symbol('server name'),
  20. kLocalAddress: Symbol('local address'),
  21. kHost: Symbol('host'),
  22. kNoRef: Symbol('no ref'),
  23. kBodyUsed: Symbol('used'),
  24. kRunning: Symbol('running'),
  25. kBlocking: Symbol('blocking'),
  26. kPending: Symbol('pending'),
  27. kSize: Symbol('size'),
  28. kBusy: Symbol('busy'),
  29. kQueued: Symbol('queued'),
  30. kFree: Symbol('free'),
  31. kConnected: Symbol('connected'),
  32. kClosed: Symbol('closed'),
  33. kNeedDrain: Symbol('need drain'),
  34. kReset: Symbol('reset'),
  35. kDestroyed: Symbol.for('nodejs.stream.destroyed'),
  36. kMaxHeadersSize: Symbol('max headers size'),
  37. kRunningIdx: Symbol('running index'),
  38. kPendingIdx: Symbol('pending index'),
  39. kError: Symbol('error'),
  40. kClients: Symbol('clients'),
  41. kClient: Symbol('client'),
  42. kParser: Symbol('parser'),
  43. kOnDestroyed: Symbol('destroy callbacks'),
  44. kPipelining: Symbol('pipelining'),
  45. kSocket: Symbol('socket'),
  46. kHostHeader: Symbol('host header'),
  47. kConnector: Symbol('connector'),
  48. kStrictContentLength: Symbol('strict content length'),
  49. kMaxRedirections: Symbol('maxRedirections'),
  50. kMaxRequests: Symbol('maxRequestsPerClient'),
  51. kProxy: Symbol('proxy agent options'),
  52. kCounter: Symbol('socket request counter'),
  53. kInterceptors: Symbol('dispatch interceptors'),
  54. kMaxResponseSize: Symbol('max response size')
  55. }