Skip to content

Instantly share code, notes, and snippets.

@shobhitic
Last active August 29, 2015 14:08
Show Gist options
  • Save shobhitic/56eac00f524f3b7a39e1 to your computer and use it in GitHub Desktop.
Save shobhitic/56eac00f524f3b7a39e1 to your computer and use it in GitHub Desktop.
{ domain:
{ domain: null,
_events: { error: [Function] },
_maxListeners: 10,
members: [] },
_events: {},
_maxListeners: 10,
_bench: { ts: 191301073.138708 },
server:
{ domain: null,
_events: {},
_maxListeners: 10,
settings:
{ maxSockets: Infinity,
router: [Object],
state: [Object],
location: '',
cacheControlStatus: [Object],
payload: [Object],
validation: null,
json: [Object],
files: [Object],
timeout: [Object],
debug: [Object],
labels: [],
cors: null,
security: null,
views: undefined,
_cacheControlStatus: [Object] },
_unixDomainSocket: false,
_windowsNamedPipe: false,
_host: '0.0.0.0',
_port: 2000,
_onConnection: [Function],
_started: true,
auth:
{ server: [Circular],
_schemes: {},
_strategies: {},
_defaultStrategy: null },
_etags:
{ _max: 10000,
_lengthCalculator: [Function: naiveLength],
_allowStale: false,
_maxAge: null,
_dispose: undefined,
_cache: {},
_lruList: {},
_mru: 0,
_lru: 0,
_length: 0,
_itemCount: 0 },
_router:
{ settings: [Object],
routes: [Object],
vhosts: null,
specials: [Object] },
_heavy:
{ settings: [Object],
_eventLoopTimer: null,
_loadBench: [Object],
load: [Object] },
load: { eventLoopDelay: 0, heapUsed: 0, rss: 0 },
_ext: { _events: [Object] },
_stateDefinitions:
{ settings: [Object],
cookieDefaults: [Object],
cookies: {},
names: [] },
_registrations: {},
pack:
{ _settings: [Object],
_servers: [Object],
_byLabel: {},
_byId: [Object],
_caches: [Object],
_methods: [Object],
_handlers: [Object],
_events: [Object],
plugins: {},
events: [Object],
app: {},
_ext: [Object] },
plugins: {},
app: {},
methods: {},
_views: null,
listener:
{ domain: null,
_events: [Object],
_maxListeners: 10,
_connections: 1,
connections: [Getter/Setter],
_handle: [Object],
_usingSlaves: false,
_slaves: [],
allowHalfOpen: true,
httpAllowHalfOpen: false,
timeout: 120000,
_connectionKey: '4:0.0.0.0:2000' },
info:
{ host: '0.0.0.0',
port: 2000,
protocol: 'http',
uri: 'http://0.0.0.0:2000' },
_connections: { '127.0.0.1:58445': [Object] } },
hapi:
{ version: '6.11.1',
Boom:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
badData: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
boom:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
badData: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
Error:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
badData: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
error:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
badData: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
Server: { [Function] super_: [Object] },
Pack: { [Function] compose: [Function] },
state: { prepareValue: [Function] },
createServer: [Function] },
url:
{ protocol: null,
slashes: null,
auth: null,
host: null,
port: null,
hostname: null,
hash: null,
search: '?authUid=bakli',
query: { authUid: 'bakli' },
pathname: '/profiles/bakli/posts64',
path: '/profiles/bakli/posts64?authUid=bakli',
href: '/profiles/bakli/posts64?authUid=bakli' },
query: { authUid: 'bakli' },
path: '/profiles/bakli/posts64',
method: 'post',
mime: 'application/json',
setUrl: undefined,
setMethod: undefined,
headers:
{ host: 'localhost:2000',
connection: 'keep-alive',
'content-length': '59641',
'cache-control': 'no-cache',
origin: 'chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36',
'content-type': 'application/json',
accept: '*/*',
'accept-encoding': 'gzip,deflate',
'accept-language': 'en-US,en;q=0.8' },
id: '1414675840731-12837-62280',
app: {},
plugins: {},
_route:
{ settings:
{ pre: [Object],
handler: [Function],
method: 'post',
path: '/profiles/{authUid}/posts64',
vhost: undefined,
plugins: {},
app: {},
validate: [Object],
payload: [Object],
auth: undefined },
server:
{ domain: null,
_events: {},
_maxListeners: 10,
settings: [Object],
_unixDomainSocket: false,
_windowsNamedPipe: false,
_host: '0.0.0.0',
_port: 2000,
_onConnection: [Function],
_started: true,
auth: [Object],
_etags: [Object],
_router: [Object],
_heavy: [Object],
load: [Object],
_ext: [Object],
_stateDefinitions: [Object],
_registrations: {},
pack: [Object],
plugins: {},
app: {},
methods: {},
_views: null,
listener: [Object],
info: [Object],
_connections: [Object] },
path: '/profiles/{authUid}/posts64',
method: 'post',
_env: {},
_analysis:
{ segments: [Object],
fingerprint: '/profiles/?/posts64',
params: [Object] },
params: [ 'authUid' ],
fingerprint: '/profiles/?/posts64',
_cache: null,
_prerequisites: [ [Object] ],
_cycle:
[ [Function],
'onPreAuth',
[Function],
[Function],
[Function],
'onPostAuth',
'onPreHandler',
[Function],
'onPostHandler' ] },
route:
{ pre: [ [Object] ],
handler: [Function],
method: 'post',
path: '/profiles/{authUid}/posts64',
vhost: undefined,
plugins: {},
app: {},
validate: { headers: null, params: null, query: null, payload: null },
payload:
{ output: 'data',
parse: true,
maxBytes: 1048576,
uploads: '/var/folders/hr/7dw6dzkn1kb1phtk1wrjg3cm0000gn/T/',
failAction: 'error',
timeout: 10000 },
auth: undefined },
auth:
{ isAuthenticated: false,
credentials: null,
artifacts: null,
session: null },
session: null,
pre:
{ image:
{ filename: 'image-4cf59fc1cb91332e069619d3a88ff3a9fd79a1f8.png',
path: '/var/folders/hr/7dw6dzkn1kb1phtk1wrjg3cm0000gn/T/image-4cf59fc1cb91332e069619d3a88ff3a9fd79a1f8.png',
headers: [Object],
bytes: 44624 } },
responses:
{ image:
{ domain: [Object],
_events: {},
_maxListeners: 10,
statusCode: 200,
headers: [Object],
variety: 'plain',
app: {},
plugins: {},
settings: [Object],
request: [Circular],
_payload: null,
_takeover: false,
_processors: [Object],
replacer: [Function],
spaces: [Function],
suffix: [Function],
source: [Object],
created: [Function],
hold: undefined } },
info:
{ received: 1414675840731,
remoteAddress: '127.0.0.1',
remotePort: 58445,
referrer: '',
host: 'localhost:2000',
acceptEncoding: 'gzip',
hostname: 'localhost' },
orig: {},
params: { authUid: 'bakli' },
payload:
{ text: 'Hey',
file: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA2gAAAFsCAIAAAA...I=',
image_encoding: 'base64' },
state: {},
jsonp: null,
response: null,
raw:
{ req:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
socket: [Object],
connection: [Object],
httpVersion: '1.1',
complete: true,
headers: [Object],
trailers: {},
_pendings: [],
_pendingIndex: 0,
url: '/profiles/bakli/posts64?authUid=bakli',
method: 'POST',
statusCode: null,
client: [Object],
_consuming: true,
_dumped: false,
httpVersionMajor: 1,
httpVersionMinor: 1,
upgrade: false,
read: [Function] },
res:
{ domain: null,
_events: [Object],
_maxListeners: 10,
output: [],
outputEncodings: [],
writable: true,
_last: false,
chunkedEncoding: false,
shouldKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: true,
_headerSent: false,
_header: '',
_hasBody: true,
_trailer: '',
finished: false,
_hangupClose: false,
socket: [Object],
connection: [Object] } },
addTail: [Function],
tail: [Function],
_states: {},
_logger:
[ { request: '1414675840731-12837-62280',
timestamp: 1414675840731,
tags: [Object],
data: [Object] },
{ request: '1414675840731-12837-62280',
timestamp: 1414675840751,
tags: [Object],
data: [Object] } ],
_isBailed: false,
_isReplied: false,
_isFinalized: false,
_tails: {},
_tailIds: 0,
_paramsArray: [ 'bakli' ],
_protect:
{ _error: [Function],
_at: 'handler',
logger: [Circular],
domain:
{ domain: null,
_events: [Object],
_maxListeners: 10,
members: [] } },
_onClose: [Function],
_onError: [Function],
_onAborted: [Function] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment