Advertisement
Guest User

Untitled

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