Untitled

mail@pastecode.io avatar
unknown
javascript
3 years ago
13 kB
4
Indexable
Never
<ref *2> Request {
  _allowInternals: false,
  _core: <ref *1> {
    actives: WeakMap { <items unknown> },
    app: { db: [NewPrismaClient [PrismaClient]] },
    auth: {
      api: {},
      settings: [Object],
      strategy: [Function: bound _strategy]
    },
    caches: Map(1) { '_default' => [Object] },
    compression: { decoders: [Object], encodings: [Array], encoders: [Object] },
    controlled: null,
    dependencies: [],
    events: {
      _eventListeners: [Map],
      _notificationsQueue: [],
      _eventsProcessing: false,
      _sourcePodiums: []
    },
    heavy: {
      settings: [Object],
      _eventLoopTimer: null,
      _loadBench: [Object],
      load: [Object]
    },
    info: {
      created: 1610899400056,
      started: 1610899400083,
      host: 'localhost',
      port: 3000,
      protocol: 'http',
      id: 'lt-pnacki:16852:kk1bws54',
      uri: 'http://localhost:3000',
      address: '127.0.0.1'
    },
    instances: Set(3) { [Object], [Object], [Object] },
    listener: Server {
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      _connections: 1,
      _handle: [TCP],
      _usingWorkers: false,
      _workers: [],
      _unref: false,
      allowHalfOpen: true,
      pauseOnConnect: false,
      httpAllowHalfOpen: false,
      timeout: 0,
      keepAliveTimeout: 5000,
      maxHeadersCount: null,
      headersTimeout: 60000,
      requestTimeout: 0,
      _connectionKey: '4:127.0.0.1:3000',
      [Symbol(IncomingMessage)]: [Function: IncomingMessage],
      [Symbol(ServerResponse)]: [Function: ServerResponse],
      [Symbol(kCapture)]: false,
      [Symbol(async_id_symbol)]: 275
    },
    methods: { methods: {} },
    mime: Mimos { _byType: [Object], _byExtension: [Object] },
    onConnection: [Function (anonymous)],
    phase: 'started',
    plugins: {},
    registrations: { player: [Object], user: [Object] },
    registring: 0,
    Request: [class Request],
    Response: [class Response],
    requestCounter: { value: 10001, min: 10000, max: 99999 },
    root: {
      _core: [Circular *1],
      app: [Object],
      auth: [Object],
      decorations: [Object],
      cache: [Function],
      events: [Object],
      info: [Object],
      listener: [Server],
      load: [Object],
      methods: {},
      mime: [Mimos],
      plugins: {},
      registrations: [Object],
      settings: [Object],
      states: [Object],
      type: 'tcp',
      version: '20.0.3',
      realm: [Object]
    },
    router: {
      settings: [Object],
      routes: [Map],
      ids: Map(0) {},
      vhosts: null,
      specials: [Object]
    },
    settings: {
      host: 'localhost',
      port: 3000,
      routes: [Object],
      compression: [Object],
      debug: [Object],
      info: {},
      load: [Object],
      mime: null,
      operations: [Object],
      query: {},
      router: [Object],
      autoListen: true
    },
    sockets: Set(1) { [Socket] },
    started: true,
    states: { settings: [Object], cookies: {}, names: [] },
    toolkit: { _toolkit: [class Toolkit] },
    type: 'tcp',
    validator: null,
    extensionsSeq: 0,
    extensions: { server: [Object], route: [Object] },
    decorations: {
      handler: Map(0) {},
      request: Map(0) {},
      response: Map(0) {},
      server: Map(0) {},
      toolkit: Map(0) {},
      requestApply: null,
      public: [Object]
    }
  },
  _entity: null,
  _eventContext: { request: [Circular *2] },
  _events: null,
  _expectContinue: false,
  _isInjected: false,
  _isPayloadPending: true,
  _isReplied: false,
  _route: {
    method: 'get',
    path: '/users',
    settings: {
      cache: [Object],
      compression: {},
      cors: false,
      ext: {},
      files: [Object],
      json: [Object],
      log: [Object],
      payload: null,
      response: [Object],
      security: null,
      state: [Object],
      timeout: [Object],
      validate: [Object],
      vhost: undefined,
      plugins: {},
      app: {},
      auth: undefined,
      handler: [Function: getUsersHandler]
    },
    _core: <ref *1> {
      actives: [WeakMap],
      app: [Object],
      auth: [Object],
      caches: [Map],
      compression: [Object],
      controlled: null,
      dependencies: [],
      events: [Object],
      heavy: [Object],
      info: [Object],
      instances: [Set],
      listener: [Server],
      methods: [Object],
      mime: [Mimos],
      onConnection: [Function (anonymous)],
      phase: 'started',
      plugins: {},
      registrations: [Object],
      registring: 0,
      Request: [class Request],
      Response: [class Response],
      requestCounter: [Object],
      root: [Object],
      router: [Object],
      settings: [Object],
      sockets: [Set],
      started: true,
      states: [Object],
      toolkit: [Object],
      type: 'tcp',
      validator: null,
      extensionsSeq: 0,
      extensions: [Object],
      decorations: [Object]
    },
    realm: {
      _extensions: [Object],
      modifiers: [Object],
      parent: [Object],
      plugin: 'user',
      pluginOptions: {},
      plugins: {},
      _rules: null,
      settings: [Object],
      validator: null
    },
    _special: false,
    _analysis: { segments: [Array], fingerprint: '/users', params: [] },
    params: [],
    fingerprint: '/users',
    public: {
      method: 'get',
      path: '/users',
      vhost: undefined,
      realm: [Object],
      settings: [Object],
      fingerprint: '/users',
      auth: [Object]
    },
    _prerequisites: null,
    _extensions: {
      onPreResponse: [Object],
      onPostResponse: [Object],
      onPreAuth: [Object],
      onCredentials: [Object],
      onPostAuth: [Object],
      onPreHandler: [Object],
      onPostHandler: [Object]
    },
    _cycle: [ [AsyncFunction (anonymous)], [AsyncFunction (anonymous)] ],
    _postCycle: [],
    _marshalCycle: [
      [Function (anonymous)],
      [Function (anonymous)],
      [Function (anonymous)],
      [Function (anonymous)],
      [AsyncFunction (anonymous)],
      [AsyncFunction (anonymous)]
    ]
  },
  _serverTimeoutId: null,
  _states: {},
  _url: null,
  _urlError: null,
  app: {},
  headers: {
    host: 'localhost:3000',
    'user-agent': 'insomnia/2020.5.2',
    authorization: '23fsdfsd34215342vsxddccsASDSAssa32',
    accept: '*/*',
    'content-length': '0'
  },
  jsonp: null,
  logs: [],
  method: 'get',
  mime: null,
  orig: {},
  params: {},
  paramsArray: [],
  path: '/users',
  payload: undefined,
  plugins: {},
  pre: {},
  preResponses: {},
  raw: {
    req: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '/users?offset=1&limit=2',
      method: 'GET',
      statusCode: null,
      statusMessage: null,
      client: [Socket],
      _consuming: false,
      _dumped: false,
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    res: ServerResponse {
      _events: [Object: null prototype],
      _eventsCount: 1,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: false,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: true,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: null,
      _hasBody: true,
      _trailer: '',
      finished: false,
      _headerSent: false,
      socket: [Socket],
      _header: null,
      _keepAliveTimeout: 5000,
      _onPendingData: [Function: bound updateOutgoingData],
      _sent100: false,
      _expect_continue: false,
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: null
    }
  },
  response: null,
  route: {
    method: 'get',
    path: '/users',
    vhost: undefined,
    realm: {
      _extensions: [Object],
      modifiers: [Object],
      parent: [Object],
      plugin: 'user',
      pluginOptions: {},
      plugins: {},
      _rules: null,
      settings: [Object],
      validator: null
    },
    settings: {
      cache: [Object],
      compression: {},
      cors: false,
      ext: {},
      files: [Object],
      json: [Object],
      log: [Object],
      payload: null,
      response: [Object],
      security: null,
      state: [Object],
      timeout: [Object],
      validate: [Object],
      vhost: undefined,
      plugins: {},
      app: {},
      auth: undefined,
      handler: [Function: getUsersHandler]
    },
    fingerprint: '/users',
    auth: { access: [Function: access] }
  },
  query: [Object: null prototype] { offset: '1', limit: '2' },
  server: <ref *3> {
    _core: <ref *1> {
      actives: [WeakMap],
      app: [Object],
      auth: [Object],
      caches: [Map],
      compression: [Object],
      controlled: null,
      dependencies: [],
      events: [Object],
      heavy: [Object],
      info: [Object],
      instances: [Set],
      listener: [Server],
      methods: [Object],
      mime: [Mimos],
      onConnection: [Function (anonymous)],
      phase: 'started',
      plugins: {},
      registrations: [Object],
      registring: 0,
      Request: [class Request],
      Response: [class Response],
      requestCounter: [Object],
      root: [Circular *3],
      router: [Object],
      settings: [Object],
      sockets: [Set],
      started: true,
      states: [Object],
      toolkit: [Object],
      type: 'tcp',
      validator: null,
      extensionsSeq: 0,
      extensions: [Object],
      decorations: [Object]
    },
    app: { db: [NewPrismaClient [PrismaClient]] },
    auth: {
      api: {},
      settings: [Object],
      strategy: [Function: bound _strategy]
    },
    decorations: { handler: [], request: [], response: [], server: [], toolkit: [] },
    cache: [Function: policy] { provision: [AsyncFunction (anonymous)] },
    events: {
      _eventListeners: [Map],
      _notificationsQueue: [],
      _eventsProcessing: false,
      _sourcePodiums: []
    },
    info: {
      created: 1610899400056,
      started: 1610899400083,
      host: 'localhost',
      port: 3000,
      protocol: 'http',
      id: 'lt-pnacki:16852:kk1bws54',
      uri: 'http://localhost:3000',
      address: '127.0.0.1'
    },
    listener: Server {
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      _connections: 1,
      _handle: [TCP],
      _usingWorkers: false,
      _workers: [],
      _unref: false,
      allowHalfOpen: true,
      pauseOnConnect: false,
      httpAllowHalfOpen: false,
      timeout: 0,
      keepAliveTimeout: 5000,
      maxHeadersCount: null,
      headersTimeout: 60000,
      requestTimeout: 0,
      _connectionKey: '4:127.0.0.1:3000',
      [Symbol(IncomingMessage)]: [Function: IncomingMessage],
      [Symbol(ServerResponse)]: [Function: ServerResponse],
      [Symbol(kCapture)]: false,
      [Symbol(async_id_symbol)]: 275
    },
    load: { eventLoopDelay: 0, heapUsed: 0, rss: 0 },
    methods: {},
    mime: Mimos { _byType: [Object], _byExtension: [Object] },
    plugins: {},
    registrations: { player: [Object], user: [Object] },
    settings: {
      host: 'localhost',
      port: 3000,
      routes: [Object],
      compression: [Object],
      debug: [Object],
      info: {},
      load: [Object],
      mime: null,
      operations: [Object],
      query: {},
      router: [Object],
      autoListen: true
    },
    states: { settings: [Object], cookies: {}, names: [] },
    type: 'tcp',
    version: '20.0.3',
    realm: {
      _extensions: [Object],
      modifiers: [Object],
      parent: null,
      plugin: undefined,
      pluginOptions: {},
      plugins: {},
      _rules: null,
      settings: [Object],
      validator: null
    }
  },
  state: {},
  info: {
    _request: [Circular *2],
    received: 1610899405460,
    referrer: '',
    host: 'localhost:3000',
    hostname: 'localhost',
    id: '1610899405460:lt-pnacki:16852:kk1bws54:10000',
    _remoteAddress: null,
    _remotePort: null,
    acceptEncoding: 'identity',
    cors: null,
    responded: 0,
    completed: 0
  },
  auth: {
    isAuthenticated: false,
    isAuthorized: false,
    isInjected: false,
    credentials: null,
    artifacts: null,
    strategy: null,
    mode: null,
    error: null
  }
}