Advertisement
Guest User

TypeError: Type error

a guest
Mar 30th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. IncomingMessage {
  2.   _readableState:
  3.    ReadableState {
  4.      objectMode: false,
  5.      highWaterMark: 16384,
  6.      buffer: BufferList { head: null, tail: null, length: 0 },
  7.      length: 0,
  8.      pipes: null,
  9.      pipesCount: 0,
  10.      flowing: null,
  11.      ended: false,
  12.      endEmitted: false,
  13.      reading: false,
  14.      sync: true,
  15.      needReadable: false,
  16.      emittedReadable: false,
  17.      readableListening: false,
  18.      resumeScheduled: false,
  19.      destroyed: false,
  20.      defaultEncoding: 'utf8',
  21.      awaitDrain: 0,
  22.      readingMore: true,
  23.      decoder: null,
  24.      encoding: null },
  25.   readable: true,
  26.   domain: null,
  27.   _events: {},
  28.   _eventsCount: 0,
  29.   _maxListeners: undefined,
  30.   socket:
  31.    Socket {
  32.      connecting: false,
  33.      _hadError: false,
  34.      _handle:
  35.       TCP {
  36.         reading: true,
  37.         owner: [Circular],
  38.         onread: [Function: onread],
  39.         onconnection: null,
  40.         writeQueueSize: 0,
  41.         _consumed: true },
  42.      _parent: null,
  43.      _host: null,
  44.      _readableState:
  45.       ReadableState {
  46.         objectMode: false,
  47.         highWaterMark: 16384,
  48.         buffer: [Object],
  49.         length: 0,
  50.         pipes: null,
  51.         pipesCount: 0,
  52.         flowing: true,
  53.         ended: false,
  54.         endEmitted: false,
  55.         reading: true,
  56.         sync: false,
  57.         needReadable: true,
  58.         emittedReadable: false,
  59.         readableListening: false,
  60.         resumeScheduled: false,
  61.         destroyed: false,
  62.         defaultEncoding: 'utf8',
  63.         awaitDrain: 0,
  64.         readingMore: false,
  65.         decoder: null,
  66.         encoding: null },
  67.      readable: true,
  68.      domain: null,
  69.      _events:
  70.       { end: [Array],
  71.         finish: [Function: onSocketFinish],
  72.         _socketEnd: [Function: onSocketEnd],
  73.         drain: [Array],
  74.         timeout: [Function: socketOnTimeout],
  75.         data: [Function: bound socketOnData],
  76.         error: [Function: socketOnError],
  77.         close: [Array],
  78.         resume: [Function: onSocketResume],
  79.         pause: [Function: onSocketPause] },
  80.      _eventsCount: 10,
  81.      _maxListeners: undefined,
  82.      _writableState:
  83.       WritableState {
  84.         objectMode: false,
  85.         highWaterMark: 16384,
  86.         finalCalled: false,
  87.         needDrain: false,
  88.         ending: false,
  89.         ended: false,
  90.         finished: false,
  91.         destroyed: false,
  92.         decodeStrings: false,
  93.         defaultEncoding: 'utf8',
  94.         length: 0,
  95.         writing: false,
  96.         corked: 0,
  97.         sync: true,
  98.         bufferProcessing: false,
  99.         onwrite: [Function: bound onwrite],
  100.         writecb: null,
  101.         writelen: 0,
  102.         bufferedRequest: null,
  103.         lastBufferedRequest: null,
  104.         pendingcb: 0,
  105.         prefinished: false,
  106.         errorEmitted: false,
  107.         bufferedRequestCount: 0,
  108.         corkedRequestsFree: [Object] },
  109.      writable: true,
  110.      allowHalfOpen: true,
  111.      _bytesDispatched: 0,
  112.      _sockname: null,
  113.      _pendingData: null,
  114.      _pendingEncoding: '',
  115.      server:
  116.       Server {
  117.         domain: null,
  118.         _events: [Object],
  119.         _eventsCount: 2,
  120.         _maxListeners: undefined,
  121.         _connections: 1,
  122.         _handle: [Object],
  123.         _usingSlaves: false,
  124.         _slaves: [],
  125.         _unref: false,
  126.         allowHalfOpen: true,
  127.         pauseOnConnect: false,
  128.         httpAllowHalfOpen: false,
  129.         timeout: 120000,
  130.         keepAliveTimeout: 5000,
  131.         _pendingResponseData: 0,
  132.         maxHeadersCount: null,
  133.         _connectionKey: '6::::8080',
  134.         [Symbol(asyncId)]: 11 },
  135.      _server:
  136.       Server {
  137.         domain: null,
  138.         _events: [Object],
  139.         _eventsCount: 2,
  140.         _maxListeners: undefined,
  141.         _connections: 1,
  142.         _handle: [Object],
  143.         _usingSlaves: false,
  144.         _slaves: [],
  145.         _unref: false,
  146.         allowHalfOpen: true,
  147.         pauseOnConnect: false,
  148.         httpAllowHalfOpen: false,
  149.         timeout: 120000,
  150.         keepAliveTimeout: 5000,
  151.         _pendingResponseData: 0,
  152.         maxHeadersCount: null,
  153.         _connectionKey: '6::::8080',
  154.         [Symbol(asyncId)]: 11 },
  155.      _idleTimeout: 120000,
  156.      _idleNext:
  157.       TimersList {
  158.         _idleNext: [Circular],
  159.         _idlePrev: [Circular],
  160.         _timer: [Object],
  161.         _unrefed: true,
  162.         msecs: 120000,
  163.         nextTick: false },
  164.      _idlePrev:
  165.       TimersList {
  166.         _idleNext: [Circular],
  167.         _idlePrev: [Circular],
  168.         _timer: [Object],
  169.         _unrefed: true,
  170.         msecs: 120000,
  171.         nextTick: false },
  172.      _idleStart: 7766,
  173.      _destroyed: false,
  174.      parser:
  175.       HTTPParser {
  176.         '0': [Function: parserOnHeaders],
  177.         '1': [Function: parserOnHeadersComplete],
  178.         '2': [Function: parserOnBody],
  179.         '3': [Function: parserOnMessageComplete],
  180.         '4': [Function: bound onParserExecute],
  181.         _headers: [],
  182.         _url: '',
  183.         _consumed: true,
  184.         socket: [Circular],
  185.         incoming: [Circular],
  186.         outgoing: null,
  187.         maxHeaderPairs: 2000,
  188.         onIncoming: [Function: bound parserOnIncoming] },
  189.      on: [Function: socketOnWrap],
  190.      _paused: false,
  191.      read: [Function],
  192.      _consuming: true,
  193.      _httpMessage:
  194.       ServerResponse {
  195.         domain: null,
  196.         _events: [Object],
  197.         _eventsCount: 1,
  198.         _maxListeners: undefined,
  199.         output: [],
  200.         outputEncodings: [],
  201.         outputCallbacks: [],
  202.         outputSize: 0,
  203.         writable: true,
  204.         _last: false,
  205.         upgrading: false,
  206.         chunkedEncoding: false,
  207.         shouldKeepAlive: true,
  208.         useChunkedEncodingByDefault: true,
  209.         sendDate: true,
  210.         _removedConnection: false,
  211.         _removedContLen: false,
  212.         _removedTE: false,
  213.         _contentLength: null,
  214.         _hasBody: true,
  215.         _trailer: '',
  216.         finished: false,
  217.         _headerSent: false,
  218.         socket: [Circular],
  219.         connection: [Circular],
  220.         _header: null,
  221.         _onPendingData: [Function: bound updateOutgoingData],
  222.         _sent100: false,
  223.         _expect_continue: false,
  224.         req: [Circular],
  225.         locals: {},
  226.         [Symbol(outHeadersKey)]: [Object] },
  227.      [Symbol(asyncId)]: 86,
  228.      [Symbol(bytesRead)]: 0,
  229.      [Symbol(asyncId)]: 87,
  230.      [Symbol(triggerAsyncId)]: 11 },
  231.   connection:
  232.    Socket {
  233.      connecting: false,
  234.      _hadError: false,
  235.      _handle:
  236.       TCP {
  237.         reading: true,
  238.         owner: [Circular],
  239.         onread: [Function: onread],
  240.         onconnection: null,
  241.         writeQueueSize: 0,
  242.         _consumed: true },
  243.      _parent: null,
  244.      _host: null,
  245.      _readableState:
  246.       ReadableState {
  247.         objectMode: false,
  248.         highWaterMark: 16384,
  249.         buffer: [Object],
  250.         length: 0,
  251.         pipes: null,
  252.         pipesCount: 0,
  253.         flowing: true,
  254.         ended: false,
  255.         endEmitted: false,
  256.         reading: true,
  257.         sync: false,
  258.         needReadable: true,
  259.         emittedReadable: false,
  260.         readableListening: false,
  261.         resumeScheduled: false,
  262.         destroyed: false,
  263.         defaultEncoding: 'utf8',
  264.         awaitDrain: 0,
  265.         readingMore: false,
  266.         decoder: null,
  267.         encoding: null },
  268.      readable: true,
  269.      domain: null,
  270.      _events:
  271.       { end: [Array],
  272.         finish: [Function: onSocketFinish],
  273.         _socketEnd: [Function: onSocketEnd],
  274.         drain: [Array],
  275.         timeout: [Function: socketOnTimeout],
  276.         data: [Function: bound socketOnData],
  277.         error: [Function: socketOnError],
  278.         close: [Array],
  279.         resume: [Function: onSocketResume],
  280.         pause: [Function: onSocketPause] },
  281.      _eventsCount: 10,
  282.      _maxListeners: undefined,
  283.      _writableState:
  284.       WritableState {
  285.         objectMode: false,
  286.         highWaterMark: 16384,
  287.         finalCalled: false,
  288.         needDrain: false,
  289.         ending: false,
  290.         ended: false,
  291.         finished: false,
  292.         destroyed: false,
  293.         decodeStrings: false,
  294.         defaultEncoding: 'utf8',
  295.         length: 0,
  296.         writing: false,
  297.         corked: 0,
  298.         sync: true,
  299.         bufferProcessing: false,
  300.         onwrite: [Function: bound onwrite],
  301.         writecb: null,
  302.         writelen: 0,
  303.         bufferedRequest: null,
  304.         lastBufferedRequest: null,
  305.         pendingcb: 0,
  306.         prefinished: false,
  307.         errorEmitted: false,
  308.         bufferedRequestCount: 0,
  309.         corkedRequestsFree: [Object] },
  310.      writable: true,
  311.      allowHalfOpen: true,
  312.      _bytesDispatched: 0,
  313.      _sockname: null,
  314.      _pendingData: null,
  315.      _pendingEncoding: '',
  316.      server:
  317.       Server {
  318.         domain: null,
  319.         _events: [Object],
  320.         _eventsCount: 2,
  321.         _maxListeners: undefined,
  322.         _connections: 1,
  323.         _handle: [Object],
  324.         _usingSlaves: false,
  325.         _slaves: [],
  326.         _unref: false,
  327.         allowHalfOpen: true,
  328.         pauseOnConnect: false,
  329.         httpAllowHalfOpen: false,
  330.         timeout: 120000,
  331.         keepAliveTimeout: 5000,
  332.         _pendingResponseData: 0,
  333.         maxHeadersCount: null,
  334.         _connectionKey: '6::::8080',
  335.         [Symbol(asyncId)]: 11 },
  336.      _server:
  337.       Server {
  338.         domain: null,
  339.         _events: [Object],
  340.         _eventsCount: 2,
  341.         _maxListeners: undefined,
  342.         _connections: 1,
  343.         _handle: [Object],
  344.         _usingSlaves: false,
  345.         _slaves: [],
  346.         _unref: false,
  347.         allowHalfOpen: true,
  348.         pauseOnConnect: false,
  349.         httpAllowHalfOpen: false,
  350.         timeout: 120000,
  351.         keepAliveTimeout: 5000,
  352.         _pendingResponseData: 0,
  353.         maxHeadersCount: null,
  354.         _connectionKey: '6::::8080',
  355.         [Symbol(asyncId)]: 11 },
  356.      _idleTimeout: 120000,
  357.      _idleNext:
  358.       TimersList {
  359.         _idleNext: [Circular],
  360.         _idlePrev: [Circular],
  361.         _timer: [Object],
  362.         _unrefed: true,
  363.         msecs: 120000,
  364.         nextTick: false },
  365.      _idlePrev:
  366.       TimersList {
  367.         _idleNext: [Circular],
  368.         _idlePrev: [Circular],
  369.         _timer: [Object],
  370.         _unrefed: true,
  371.         msecs: 120000,
  372.         nextTick: false },
  373.      _idleStart: 7766,
  374.      _destroyed: false,
  375.      parser:
  376.       HTTPParser {
  377.         '0': [Function: parserOnHeaders],
  378.         '1': [Function: parserOnHeadersComplete],
  379.         '2': [Function: parserOnBody],
  380.         '3': [Function: parserOnMessageComplete],
  381.         '4': [Function: bound onParserExecute],
  382.         _headers: [],
  383.         _url: '',
  384.         _consumed: true,
  385.         socket: [Circular],
  386.         incoming: [Circular],
  387.         outgoing: null,
  388.         maxHeaderPairs: 2000,
  389.         onIncoming: [Function: bound parserOnIncoming] },
  390.      on: [Function: socketOnWrap],
  391.      _paused: false,
  392.      read: [Function],
  393.      _consuming: true,
  394.      _httpMessage:
  395.       ServerResponse {
  396.         domain: null,
  397.         _events: [Object],
  398.         _eventsCount: 1,
  399.         _maxListeners: undefined,
  400.         output: [],
  401.         outputEncodings: [],
  402.         outputCallbacks: [],
  403.         outputSize: 0,
  404.         writable: true,
  405.         _last: false,
  406.         upgrading: false,
  407.         chunkedEncoding: false,
  408.         shouldKeepAlive: true,
  409.         useChunkedEncodingByDefault: true,
  410.         sendDate: true,
  411.         _removedConnection: false,
  412.         _removedContLen: false,
  413.         _removedTE: false,
  414.         _contentLength: null,
  415.         _hasBody: true,
  416.         _trailer: '',
  417.         finished: false,
  418.         _headerSent: false,
  419.         socket: [Circular],
  420.         connection: [Circular],
  421.         _header: null,
  422.         _onPendingData: [Function: bound updateOutgoingData],
  423.         _sent100: false,
  424.         _expect_continue: false,
  425.         req: [Circular],
  426.         locals: {},
  427.         [Symbol(outHeadersKey)]: [Object] },
  428.      [Symbol(asyncId)]: 86,
  429.      [Symbol(bytesRead)]: 0,
  430.      [Symbol(asyncId)]: 87,
  431.      [Symbol(triggerAsyncId)]: 11 },
  432.   httpVersionMajor: 1,
  433.   httpVersionMinor: 1,
  434.   httpVersion: '1.1',
  435.   complete: false,
  436.   headers:
  437.    { host: '127.0.0.1:8080',
  438.      origin: 'http://127.0.0.1:8080',
  439.      'content-length': '0',
  440.      connection: 'keep-alive',
  441.      accept: '*/*',
  442.      'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6',
  443.      'accept-language': 'en-gb',
  444.      referer: 'http://127.0.0.1:8080/login.html?username=mmmm&password=999999',
  445.      'accept-encoding': 'gzip, deflate' },
  446.   rawHeaders:
  447.    [ 'Host',
  448.      '127.0.0.1:8080',
  449.      'Origin',
  450.      'http://127.0.0.1:8080',
  451.      'Content-Length',
  452.      '0',
  453.      'Connection',
  454.      'keep-alive',
  455.      'Accept',
  456.      '*/*',
  457.      'User-Agent',
  458.      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6',
  459.      'Accept-Language',
  460.      'en-gb',
  461.      'Referer',
  462.      'http://127.0.0.1:8080/login.html?username=mmmm&password=999999',
  463.      'Accept-Encoding',
  464.      'gzip, deflate' ],
  465.   trailers: {},
  466.   rawTrailers: [],
  467.   upgrade: false,
  468.   url: '/api/login?username=mmmm&password=999999',
  469.   method: 'POST',
  470.   statusCode: null,
  471.   statusMessage: null,
  472.   client:
  473.    Socket {
  474.      connecting: false,
  475.      _hadError: false,
  476.      _handle:
  477.       TCP {
  478.         reading: true,
  479.         owner: [Circular],
  480.         onread: [Function: onread],
  481.         onconnection: null,
  482.         writeQueueSize: 0,
  483.         _consumed: true },
  484.      _parent: null,
  485.      _host: null,
  486.      _readableState:
  487.       ReadableState {
  488.         objectMode: false,
  489.         highWaterMark: 16384,
  490.         buffer: [Object],
  491.         length: 0,
  492.         pipes: null,
  493.         pipesCount: 0,
  494.         flowing: true,
  495.         ended: false,
  496.         endEmitted: false,
  497.         reading: true,
  498.         sync: false,
  499.         needReadable: true,
  500.         emittedReadable: false,
  501.         readableListening: false,
  502.         resumeScheduled: false,
  503.         destroyed: false,
  504.         defaultEncoding: 'utf8',
  505.         awaitDrain: 0,
  506.         readingMore: false,
  507.         decoder: null,
  508.         encoding: null },
  509.      readable: true,
  510.      domain: null,
  511.      _events:
  512.       { end: [Array],
  513.         finish: [Function: onSocketFinish],
  514.         _socketEnd: [Function: onSocketEnd],
  515.         drain: [Array],
  516.         timeout: [Function: socketOnTimeout],
  517.         data: [Function: bound socketOnData],
  518.         error: [Function: socketOnError],
  519.         close: [Array],
  520.         resume: [Function: onSocketResume],
  521.         pause: [Function: onSocketPause] },
  522.      _eventsCount: 10,
  523.      _maxListeners: undefined,
  524.      _writableState:
  525.       WritableState {
  526.         objectMode: false,
  527.         highWaterMark: 16384,
  528.         finalCalled: false,
  529.         needDrain: false,
  530.         ending: false,
  531.         ended: false,
  532.         finished: false,
  533.         destroyed: false,
  534.         decodeStrings: false,
  535.         defaultEncoding: 'utf8',
  536.         length: 0,
  537.         writing: false,
  538.         corked: 0,
  539.         sync: true,
  540.         bufferProcessing: false,
  541.         onwrite: [Function: bound onwrite],
  542.         writecb: null,
  543.         writelen: 0,
  544.         bufferedRequest: null,
  545.         lastBufferedRequest: null,
  546.         pendingcb: 0,
  547.         prefinished: false,
  548.         errorEmitted: false,
  549.         bufferedRequestCount: 0,
  550.         corkedRequestsFree: [Object] },
  551.      writable: true,
  552.      allowHalfOpen: true,
  553.      _bytesDispatched: 0,
  554.      _sockname: null,
  555.      _pendingData: null,
  556.      _pendingEncoding: '',
  557.      server:
  558.       Server {
  559.         domain: null,
  560.         _events: [Object],
  561.         _eventsCount: 2,
  562.         _maxListeners: undefined,
  563.         _connections: 1,
  564.         _handle: [Object],
  565.         _usingSlaves: false,
  566.         _slaves: [],
  567.         _unref: false,
  568.         allowHalfOpen: true,
  569.         pauseOnConnect: false,
  570.         httpAllowHalfOpen: false,
  571.         timeout: 120000,
  572.         keepAliveTimeout: 5000,
  573.         _pendingResponseData: 0,
  574.         maxHeadersCount: null,
  575.         _connectionKey: '6::::8080',
  576.         [Symbol(asyncId)]: 11 },
  577.      _server:
  578.       Server {
  579.         domain: null,
  580.         _events: [Object],
  581.         _eventsCount: 2,
  582.         _maxListeners: undefined,
  583.         _connections: 1,
  584.         _handle: [Object],
  585.         _usingSlaves: false,
  586.         _slaves: [],
  587.         _unref: false,
  588.         allowHalfOpen: true,
  589.         pauseOnConnect: false,
  590.         httpAllowHalfOpen: false,
  591.         timeout: 120000,
  592.         keepAliveTimeout: 5000,
  593.         _pendingResponseData: 0,
  594.         maxHeadersCount: null,
  595.         _connectionKey: '6::::8080',
  596.         [Symbol(asyncId)]: 11 },
  597.      _idleTimeout: 120000,
  598.      _idleNext:
  599.       TimersList {
  600.         _idleNext: [Circular],
  601.         _idlePrev: [Circular],
  602.         _timer: [Object],
  603.         _unrefed: true,
  604.         msecs: 120000,
  605.         nextTick: false },
  606.      _idlePrev:
  607.       TimersList {
  608.         _idleNext: [Circular],
  609.         _idlePrev: [Circular],
  610.         _timer: [Object],
  611.         _unrefed: true,
  612.         msecs: 120000,
  613.         nextTick: false },
  614.      _idleStart: 7766,
  615.      _destroyed: false,
  616.      parser:
  617.       HTTPParser {
  618.         '0': [Function: parserOnHeaders],
  619.         '1': [Function: parserOnHeadersComplete],
  620.         '2': [Function: parserOnBody],
  621.         '3': [Function: parserOnMessageComplete],
  622.         '4': [Function: bound onParserExecute],
  623.         _headers: [],
  624.         _url: '',
  625.         _consumed: true,
  626.         socket: [Circular],
  627.         incoming: [Circular],
  628.         outgoing: null,
  629.         maxHeaderPairs: 2000,
  630.         onIncoming: [Function: bound parserOnIncoming] },
  631.      on: [Function: socketOnWrap],
  632.      _paused: false,
  633.      read: [Function],
  634.      _consuming: true,
  635.      _httpMessage:
  636.       ServerResponse {
  637.         domain: null,
  638.         _events: [Object],
  639.         _eventsCount: 1,
  640.         _maxListeners: undefined,
  641.         output: [],
  642.         outputEncodings: [],
  643.         outputCallbacks: [],
  644.         outputSize: 0,
  645.         writable: true,
  646.         _last: false,
  647.         upgrading: false,
  648.         chunkedEncoding: false,
  649.         shouldKeepAlive: true,
  650.         useChunkedEncodingByDefault: true,
  651.         sendDate: true,
  652.         _removedConnection: false,
  653.         _removedContLen: false,
  654.         _removedTE: false,
  655.         _contentLength: null,
  656.         _hasBody: true,
  657.         _trailer: '',
  658.         finished: false,
  659.         _headerSent: false,
  660.         socket: [Circular],
  661.         connection: [Circular],
  662.         _header: null,
  663.         _onPendingData: [Function: bound updateOutgoingData],
  664.         _sent100: false,
  665.         _expect_continue: false,
  666.         req: [Circular],
  667.         locals: {},
  668.         [Symbol(outHeadersKey)]: [Object] },
  669.      [Symbol(asyncId)]: 86,
  670.      [Symbol(bytesRead)]: 0,
  671.      [Symbol(asyncId)]: 87,
  672.      [Symbol(triggerAsyncId)]: 11 },
  673.   _consuming: false,
  674.   _dumped: false,
  675.   next: [Function: next],
  676.   baseUrl: '',
  677.   originalUrl: '/api/login?username=mmmm&password=999999',
  678.   _parsedUrl:
  679.    Url {
  680.      protocol: null,
  681.      slashes: null,
  682.      auth: null,
  683.      host: null,
  684.      port: null,
  685.      hostname: null,
  686.      hash: null,
  687.      search: '?username=mmmm&password=999999',
  688.      query: 'username=mmmm&password=999999',
  689.      pathname: '/api/login',
  690.      path: '/api/login?username=mmmm&password=999999',
  691.      href: '/api/login?username=mmmm&password=999999',
  692.      _raw: '/api/login?username=mmmm&password=999999' },
  693.   params: {},
  694.   query: { username: 'mmmm', password: '999999' },
  695.   res:
  696.    ServerResponse {
  697.      domain: null,
  698.      _events: { finish: [Function: bound resOnFinish] },
  699.      _eventsCount: 1,
  700.      _maxListeners: undefined,
  701.      output: [],
  702.      outputEncodings: [],
  703.      outputCallbacks: [],
  704.      outputSize: 0,
  705.      writable: true,
  706.      _last: false,
  707.      upgrading: false,
  708.      chunkedEncoding: false,
  709.      shouldKeepAlive: true,
  710.      useChunkedEncodingByDefault: true,
  711.      sendDate: true,
  712.      _removedConnection: false,
  713.      _removedContLen: false,
  714.      _removedTE: false,
  715.      _contentLength: null,
  716.      _hasBody: true,
  717.      _trailer: '',
  718.      finished: false,
  719.      _headerSent: false,
  720.      socket:
  721.       Socket {
  722.         connecting: false,
  723.         _hadError: false,
  724.         _handle: [Object],
  725.         _parent: null,
  726.         _host: null,
  727.         _readableState: [Object],
  728.         readable: true,
  729.         domain: null,
  730.         _events: [Object],
  731.         _eventsCount: 10,
  732.         _maxListeners: undefined,
  733.         _writableState: [Object],
  734.         writable: true,
  735.         allowHalfOpen: true,
  736.         _bytesDispatched: 0,
  737.         _sockname: null,
  738.         _pendingData: null,
  739.         _pendingEncoding: '',
  740.         server: [Object],
  741.         _server: [Object],
  742.         _idleTimeout: 120000,
  743.         _idleNext: [Object],
  744.         _idlePrev: [Object],
  745.         _idleStart: 7766,
  746.         _destroyed: false,
  747.         parser: [Object],
  748.         on: [Function: socketOnWrap],
  749.         _paused: false,
  750.         read: [Function],
  751.         _consuming: true,
  752.         _httpMessage: [Circular],
  753.         [Symbol(asyncId)]: 86,
  754.         [Symbol(bytesRead)]: 0,
  755.         [Symbol(asyncId)]: 87,
  756.         [Symbol(triggerAsyncId)]: 11 },
  757.      connection:
  758.       Socket {
  759.         connecting: false,
  760.         _hadError: false,
  761.         _handle: [Object],
  762.         _parent: null,
  763.         _host: null,
  764.         _readableState: [Object],
  765.         readable: true,
  766.         domain: null,
  767.         _events: [Object],
  768.         _eventsCount: 10,
  769.         _maxListeners: undefined,
  770.         _writableState: [Object],
  771.         writable: true,
  772.         allowHalfOpen: true,
  773.         _bytesDispatched: 0,
  774.         _sockname: null,
  775.         _pendingData: null,
  776.         _pendingEncoding: '',
  777.         server: [Object],
  778.         _server: [Object],
  779.         _idleTimeout: 120000,
  780.         _idleNext: [Object],
  781.         _idlePrev: [Object],
  782.         _idleStart: 7766,
  783.         _destroyed: false,
  784.         parser: [Object],
  785.         on: [Function: socketOnWrap],
  786.         _paused: false,
  787.         read: [Function],
  788.         _consuming: true,
  789.         _httpMessage: [Circular],
  790.         [Symbol(asyncId)]: 86,
  791.         [Symbol(bytesRead)]: 0,
  792.         [Symbol(asyncId)]: 87,
  793.         [Symbol(triggerAsyncId)]: 11 },
  794.      _header: null,
  795.      _onPendingData: [Function: bound updateOutgoingData],
  796.      _sent100: false,
  797.      _expect_continue: false,
  798.      req: [Circular],
  799.      locals: {},
  800.      [Symbol(outHeadersKey)]: { 'x-powered-by': [Array] } },
  801.   route:
  802.    Route {
  803.      path: '/api/login',
  804.      stack: [ [Object] ],
  805.      methods: { post: true } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement