Skip to content

Instantly share code, notes, and snippets.

@sergibondarenko
Created January 24, 2017 11:54
Show Gist options
  • Save sergibondarenko/ea6a2aad546ded32e4a9b3cf53228fef to your computer and use it in GitHub Desktop.
Save sergibondarenko/ea6a2aad546ded32e4a9b3cf53228fef to your computer and use it in GitHub Desktop.
Request {
domain: null,
_events:
{ error: [Function: bound ],
complete: [Function: bound ],
pipe: [Function] },
_eventsCount: 3,
_maxListeners: undefined,
url:
Url {
protocol: 'https:',
slashes: true,
auth: null,
host: 'www.googleapis.com',
port: null,
hostname: 'www.googleapis.com',
hash: null,
search: '?part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY',
query: 'part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY',
pathname: '/youtube/v3/playlists',
path: '/youtube/v3/playlists?part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY',
href: 'https://www.googleapis.com/youtube/v3/playlists?part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY' },
method: 'GET',
headers:
{ 'User-Agent': 'google-api-nodejs-client/0.10.0',
host: 'www.googleapis.com',
accept: 'application/json' },
useQuerystring: true,
uri:
Url {
protocol: 'https:',
slashes: true,
auth: null,
host: 'www.googleapis.com',
port: null,
hostname: 'www.googleapis.com',
hash: null,
search: '?part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY',
query: 'part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY',
pathname: '/youtube/v3/playlists',
path: '/youtube/v3/playlists?part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY',
href: 'https://www.googleapis.com/youtube/v3/playlists?part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY' },
callback: [Function],
readable: true,
writable: true,
explicitMethod: true,
_qs:
Querystring {
request: [Circular],
lib:
{ unescapeBuffer: [Function],
unescape: [Function],
escape: [Function],
encode: [Function],
stringify: [Function],
decode: [Function],
parse: [Function] },
useQuerystring: true,
parseOptions: {},
stringifyOptions: {} },
_auth:
Auth {
request: [Circular],
hasAuth: false,
sentAuth: false,
bearerToken: null,
user: null,
pass: null },
_oauth: OAuth { request: [Circular], params: null },
_multipart:
Multipart {
request: [Circular],
boundary: '9a5d3bd1-718b-429d-887d-29564859963b',
chunked: false,
body: null },
_redirect:
Redirect {
request: [Circular],
followRedirect: true,
followRedirects: true,
followAllRedirects: false,
followOriginalHttpMethod: false,
allowRedirect: [Function],
maxRedirects: 10,
redirects: [],
redirectsFollowed: 0,
removeRefererHeader: false },
_tunnel:
Tunnel {
request: [Circular],
proxyHeaderWhiteList:
[ 'accept',
'accept-charset',
'accept-encoding',
'accept-language',
'accept-ranges',
'cache-control',
'content-encoding',
'content-language',
'content-location',
'content-md5',
'content-range',
'content-type',
'connection',
'date',
'expect',
'max-forwards',
'pragma',
'referer',
'te',
'user-agent',
'via' ],
proxyHeaderExclusiveList: [] },
setHeader: [Function],
hasHeader: [Function],
getHeader: [Function],
removeHeader: [Function],
localAddress: undefined,
pool: {},
dests: [],
__isRequestRequest: true,
_callback: [Function],
proxy: null,
tunnel: true,
setHost: true,
originalCookieHeader: undefined,
_disableCookies: true,
_jar: undefined,
port: 443,
host: 'www.googleapis.com',
path: '/youtube/v3/playlists?part=id&id=PLvxLmGsmqdZc-GYVeLhS0N_6jfrzEleQm&key=MY_API_KEY',
_json: true,
httpModule:
{ Server: { [Function: Server] super_: [Object] },
createServer: [Function],
globalAgent:
Agent {
domain: null,
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: {},
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: [Object] },
Agent: { [Function: Agent] super_: [Object] },
request: [Function],
get: [Function] },
agentClass:
{ [Function: Agent]
super_: { [Function: Agent] super_: [Object], defaultMaxSockets: Infinity } },
agent:
Agent {
domain: null,
_events: { free: [Function] },
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: { path: null },
requests: {},
sockets: {},
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: { map: {}, list: [] } } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment