Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IncomingMessage {
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: BufferList { head: null, tail: null, length: 0 },
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: null,
- ended: false,
- endEmitted: false,
- reading: false,
- sync: true,
- needReadable: false,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: true,
- decoder: null,
- encoding: null },
- readable: true,
- domain: null,
- _events: {},
- _eventsCount: 0,
- _maxListeners: undefined,
- socket:
- Socket {
- connecting: false,
- _hadError: false,
- _handle:
- TCP {
- bytesRead: 1372,
- _externalStream: {},
- fd: -1,
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onconnection: null,
- writeQueueSize: 0,
- _consumed: true },
- _parent: null,
- _host: null,
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: true,
- domain: null,
- _events:
- { end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- drain: [Object],
- timeout: [Function: bound socketOnTimeout],
- data: [Function: bound socketOnData],
- error: [Object],
- close: [Object],
- resume: [Function: onSocketResume],
- pause: [Function: onSocketPause] },
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: false,
- errorEmitted: false,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- _bytesDispatched: 427,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server:
- Server {
- domain: null,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _connections: 1,
- _handle: [Object],
- _usingSlaves: false,
- _slaves: [],
- _unref: false,
- allowHalfOpen: true,
- pauseOnConnect: false,
- httpAllowHalfOpen: false,
- timeout: 120000,
- _pendingResponseData: 0,
- maxHeadersCount: null,
- _connectionKey: '6::::3000' },
- _server:
- Server {
- domain: null,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _connections: 1,
- _handle: [Object],
- _usingSlaves: false,
- _slaves: [],
- _unref: false,
- allowHalfOpen: true,
- pauseOnConnect: false,
- httpAllowHalfOpen: false,
- timeout: 120000,
- _pendingResponseData: 0,
- maxHeadersCount: null,
- _connectionKey: '6::::3000' },
- _idleTimeout: 120000,
- _idleNext:
- TimersList {
- _idleNext: [Circular],
- _idlePrev: [Circular],
- _timer: [Object],
- _unrefed: true,
- msecs: 120000,
- nextTick: false },
- _idlePrev:
- TimersList {
- _idleNext: [Circular],
- _idlePrev: [Circular],
- _timer: [Object],
- _unrefed: true,
- msecs: 120000,
- nextTick: false },
- _idleStart: 9004,
- parser:
- HTTPParser {
- '0': [Function: parserOnHeaders],
- '1': [Function: parserOnHeadersComplete],
- '2': [Function: parserOnBody],
- '3': [Function: parserOnMessageComplete],
- '4': [Function: bound onParserExecute],
- _headers: [],
- _url: '',
- _consumed: true,
- socket: [Circular],
- incoming: [Circular],
- outgoing: null,
- maxHeaderPairs: 2000,
- onIncoming: [Function: bound parserOnIncoming] },
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage:
- ServerResponse {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: false,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: true,
- useChunkedEncodingByDefault: true,
- sendDate: true,
- _removedHeader: {},
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _headerSent: false,
- socket: [Circular],
- connection: [Circular],
- _header: null,
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: [Function: bound updateOutgoingData],
- _sent100: false,
- _expect_continue: false,
- req: [Circular],
- locals: {} } },
- connection:
- Socket {
- connecting: false,
- _hadError: false,
- _handle:
- TCP {
- bytesRead: 1372,
- _externalStream: {},
- fd: -1,
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onconnection: null,
- writeQueueSize: 0,
- _consumed: true },
- _parent: null,
- _host: null,
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: true,
- domain: null,
- _events:
- { end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- drain: [Object],
- timeout: [Function: bound socketOnTimeout],
- data: [Function: bound socketOnData],
- error: [Object],
- close: [Object],
- resume: [Function: onSocketResume],
- pause: [Function: onSocketPause] },
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: false,
- errorEmitted: false,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- _bytesDispatched: 427,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server:
- Server {
- domain: null,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _connections: 1,
- _handle: [Object],
- _usingSlaves: false,
- _slaves: [],
- _unref: false,
- allowHalfOpen: true,
- pauseOnConnect: false,
- httpAllowHalfOpen: false,
- timeout: 120000,
- _pendingResponseData: 0,
- maxHeadersCount: null,
- _connectionKey: '6::::3000' },
- _server:
- Server {
- domain: null,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _connections: 1,
- _handle: [Object],
- _usingSlaves: false,
- _slaves: [],
- _unref: false,
- allowHalfOpen: true,
- pauseOnConnect: false,
- httpAllowHalfOpen: false,
- timeout: 120000,
- _pendingResponseData: 0,
- maxHeadersCount: null,
- _connectionKey: '6::::3000' },
- _idleTimeout: 120000,
- _idleNext:
- TimersList {
- _idleNext: [Circular],
- _idlePrev: [Circular],
- _timer: [Object],
- _unrefed: true,
- msecs: 120000,
- nextTick: false },
- _idlePrev:
- TimersList {
- _idleNext: [Circular],
- _idlePrev: [Circular],
- _timer: [Object],
- _unrefed: true,
- msecs: 120000,
- nextTick: false },
- _idleStart: 9004,
- parser:
- HTTPParser {
- '0': [Function: parserOnHeaders],
- '1': [Function: parserOnHeadersComplete],
- '2': [Function: parserOnBody],
- '3': [Function: parserOnMessageComplete],
- '4': [Function: bound onParserExecute],
- _headers: [],
- _url: '',
- _consumed: true,
- socket: [Circular],
- incoming: [Circular],
- outgoing: null,
- maxHeaderPairs: 2000,
- onIncoming: [Function: bound parserOnIncoming] },
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage:
- ServerResponse {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: false,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: true,
- useChunkedEncodingByDefault: true,
- sendDate: true,
- _removedHeader: {},
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _headerSent: false,
- socket: [Circular],
- connection: [Circular],
- _header: null,
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: [Function: bound updateOutgoingData],
- _sent100: false,
- _expect_continue: false,
- req: [Circular],
- locals: {} } },
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: false,
- headers:
- { host: 'localhost:3000',
- connection: 'keep-alive',
- 'content-length': '80',
- accept: 'application/json, text/plain, */*',
- origin: 'http://localhost:3000',
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36',
- 'content-type': 'application/json;charset=UTF-8',
- referer: 'http://localhost:3000/',
- 'accept-encoding': 'gzip, deflate, br',
- 'accept-language': 'en-US,en;q=0.9,cs;q=0.8,sk;q=0.7,nb;q=0.6' },
- rawHeaders:
- [ 'Host',
- 'localhost:3000',
- 'Connection',
- 'keep-alive',
- 'Content-Length',
- '80',
- 'Accept',
- 'application/json, text/plain, */*',
- 'Origin',
- 'http://localhost:3000',
- 'User-Agent',
- 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36',
- 'Content-Type',
- 'application/json;charset=UTF-8',
- 'Referer',
- 'http://localhost:3000/',
- 'Accept-Encoding',
- 'gzip, deflate, br',
- 'Accept-Language',
- 'en-US,en;q=0.9,cs;q=0.8,sk;q=0.7,nb;q=0.6' ],
- trailers: {},
- rawTrailers: [],
- upgrade: false,
- url: '/api/items/create',
- method: 'POST',
- statusCode: null,
- statusMessage: null,
- client:
- Socket {
- connecting: false,
- _hadError: false,
- _handle:
- TCP {
- bytesRead: 1372,
- _externalStream: {},
- fd: -1,
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onconnection: null,
- writeQueueSize: 0,
- _consumed: true },
- _parent: null,
- _host: null,
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: true,
- domain: null,
- _events:
- { end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- drain: [Object],
- timeout: [Function: bound socketOnTimeout],
- data: [Function: bound socketOnData],
- error: [Object],
- close: [Object],
- resume: [Function: onSocketResume],
- pause: [Function: onSocketPause] },
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: false,
- errorEmitted: false,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- _bytesDispatched: 427,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server:
- Server {
- domain: null,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _connections: 1,
- _handle: [Object],
- _usingSlaves: false,
- _slaves: [],
- _unref: false,
- allowHalfOpen: true,
- pauseOnConnect: false,
- httpAllowHalfOpen: false,
- timeout: 120000,
- _pendingResponseData: 0,
- maxHeadersCount: null,
- _connectionKey: '6::::3000' },
- _server:
- Server {
- domain: null,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _connections: 1,
- _handle: [Object],
- _usingSlaves: false,
- _slaves: [],
- _unref: false,
- allowHalfOpen: true,
- pauseOnConnect: false,
- httpAllowHalfOpen: false,
- timeout: 120000,
- _pendingResponseData: 0,
- maxHeadersCount: null,
- _connectionKey: '6::::3000' },
- _idleTimeout: 120000,
- _idleNext:
- TimersList {
- _idleNext: [Circular],
- _idlePrev: [Circular],
- _timer: [Object],
- _unrefed: true,
- msecs: 120000,
- nextTick: false },
- _idlePrev:
- TimersList {
- _idleNext: [Circular],
- _idlePrev: [Circular],
- _timer: [Object],
- _unrefed: true,
- msecs: 120000,
- nextTick: false },
- _idleStart: 9004,
- parser:
- HTTPParser {
- '0': [Function: parserOnHeaders],
- '1': [Function: parserOnHeadersComplete],
- '2': [Function: parserOnBody],
- '3': [Function: parserOnMessageComplete],
- '4': [Function: bound onParserExecute],
- _headers: [],
- _url: '',
- _consumed: true,
- socket: [Circular],
- incoming: [Circular],
- outgoing: null,
- maxHeaderPairs: 2000,
- onIncoming: [Function: bound parserOnIncoming] },
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage:
- ServerResponse {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: false,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: true,
- useChunkedEncodingByDefault: true,
- sendDate: true,
- _removedHeader: {},
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _headerSent: false,
- socket: [Circular],
- connection: [Circular],
- _header: null,
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: [Function: bound updateOutgoingData],
- _sent100: false,
- _expect_continue: false,
- req: [Circular],
- locals: {} } },
- _consuming: false,
- _dumped: false,
- next: [Function: next],
- baseUrl: '',
- originalUrl: '/api/items/create',
- _parsedUrl:
- Url {
- protocol: null,
- slashes: null,
- auth: null,
- host: null,
- port: null,
- hostname: null,
- hash: null,
- search: null,
- query: null,
- pathname: '/api/items/create',
- path: '/api/items/create',
- href: '/api/items/create',
- _raw: '/api/items/create' },
- params: {},
- query: {},
- res:
- ServerResponse {
- domain: null,
- _events: { finish: [Function: bound resOnFinish] },
- _eventsCount: 1,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: false,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: true,
- useChunkedEncodingByDefault: true,
- sendDate: true,
- _removedHeader: {},
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _headerSent: false,
- socket:
- Socket {
- connecting: false,
- _hadError: false,
- _handle: [Object],
- _parent: null,
- _host: null,
- _readableState: [Object],
- readable: true,
- domain: null,
- _events: [Object],
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- _bytesDispatched: 427,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: [Object],
- _server: [Object],
- _idleTimeout: 120000,
- _idleNext: [Object],
- _idlePrev: [Object],
- _idleStart: 9004,
- parser: [Object],
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage: [Circular] },
- connection:
- Socket {
- connecting: false,
- _hadError: false,
- _handle: [Object],
- _parent: null,
- _host: null,
- _readableState: [Object],
- readable: true,
- domain: null,
- _events: [Object],
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- _bytesDispatched: 427,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: [Object],
- _server: [Object],
- _idleTimeout: 120000,
- _idleNext: [Object],
- _idlePrev: [Object],
- _idleStart: 9004,
- parser: [Object],
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage: [Circular] },
- _header: null,
- _headers: { 'x-powered-by': 'Express' },
- _headerNames: { 'x-powered-by': 'X-Powered-By' },
- _onPendingData: [Function: bound updateOutgoingData],
- _sent100: false,
- _expect_continue: false,
- req: [Circular],
- locals: {} },
- route:
- Route {
- path: '/api/items/create',
- stack: [ [Object] ],
- methods: { post: true } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement