kopia lustrzana https://github.com/c9/core
12222 wiersze
394 KiB
Plaintext
12222 wiersze
394 KiB
Plaintext
{
|
|
"nodejs_latest:crypto": {
|
|
"guid": "nodejs_latest:crypto",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_createCipher": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createCipher[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/cipher/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createCipher",
|
|
"doc": "<p>Creates and returns a cipher object with the given algorithm and password.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithm",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "password",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createCipheriv": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createCipheriv[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/cipher/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createCipheriv",
|
|
"doc": "<p>Creates and returns a cipher object, with the given algorithm, key, and IV.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithm",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "key",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "iv",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createCredentials": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createCredentials[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createCredentials",
|
|
"doc": "<p>Creates a credentials object, with <code>details</code> being a dictionary with the\nfollowing keys:\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "details",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createDecipher": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createDecipher[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/decipher/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createDecipher",
|
|
"doc": "<p>Creates and returns a decipher object, with the given algorithm and key.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithm",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "password",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createDecipheriv": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createDecipheriv[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/decipher/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createDecipheriv",
|
|
"doc": "<p>Creates and returns a decipher object, with the given algorithm, key, and iv.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithm",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "key",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "iv",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createDiffieHellman": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createDiffieHellman[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createDiffieHellman",
|
|
"doc": "<p>Creates a Diffie-Hellman key exchange object and generates a prime of the given\nbit length. The generator used is <code>2</code>.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_createHash": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createHash[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/hash/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createHash",
|
|
"doc": "<p>Creates and returns a cryptographic hash object with the given algorithm. The\nobject can be used to generate hash digests.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithm",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createHmac": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createHmac[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/hmac/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createHmac",
|
|
"doc": "<p>Creates and returns a cryptographic HMAC object with the given algorithm and\nkey. For more information on HMAC, see <a target=\"c9doc\" href=\"http://en.wikipedia.org/wiki/HMAC\">this\narticle</a>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithm",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "key",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createSign": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createSign[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/signer/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createSign",
|
|
"doc": "<p>Creates and returns a signing object string, with the given <code>algorithm</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithm",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createVerify": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/createVerify[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/verifier/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.createVerify",
|
|
"doc": "<p>Creates and returns a verification object, with the given algorithm.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "algorithim",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_getDiffieHellman": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/getDiffieHellman[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/diffieHellman/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.getDiffieHellman",
|
|
"doc": "<p>Creates a predefined Diffie-Hellman key exchange object.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "group_name",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_pbkdf2": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/pbkdf2[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.pbkdf2",
|
|
"doc": "<p>An asynchronous PBKDF2 function that applies pseudorandom function HMAC-SHA1 to\nderive a key of the given length from the given password, salt, and number of\niterations.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "password",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "salt",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "iterations",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "keylen",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "derivedKey",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_randomBytes": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/randomBytes[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.randomBytes",
|
|
"doc": "<p>Generates cryptographically strong pseudo-random data, either asynchronously or\nsynchronously.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "size",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "ex",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto",
|
|
"doc": "<p>The <code>crypto</code> module offers a way of encapsulating secure credentials to be used\nas part of a secure HTTPS net or HTTP connection. To access this module, add\n<code>require('crypto')</code> to your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:assert": {
|
|
"guid": "nodejs_latest:assert",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:assert/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_assert": [
|
|
{
|
|
"guid": "nodejs_latest:assert/assert[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.assert",
|
|
"doc": "<p>Tests if value is a <code>true</code> value. This is equivalent to <code>assert.equal(true,\nvalue, message)</code>. This is the same as <code>assert.ok()</code>, except that <code>message</code> is\nrequired.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_deepEqual": [
|
|
{
|
|
"guid": "nodejs_latest:assert/deepEqual[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.deepEqual",
|
|
"doc": "<p>Tests for deep equality.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "actual",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "expected",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_doesNotThrow": [
|
|
{
|
|
"guid": "nodejs_latest:assert/doesNotThrow[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.doesNotThrow",
|
|
"doc": "<p>Expects <code>block</code> not to throw an error; for more details, see <code>assert.throws()</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "block",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_equal": [
|
|
{
|
|
"guid": "nodejs_latest:assert/equal[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.equal",
|
|
"doc": "<p>Tests shallow, coercive equality with the equal comparison operator ( <code>==</code> ).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "actual",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "expected",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fail": [
|
|
{
|
|
"guid": "nodejs_latest:assert/fail[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.fail",
|
|
"doc": "<p>Throws an exception that displays the values for <code>actual</code> and <code>expected</code>\nseparated by the provided operator.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "actual",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "expected",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "operator",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_ifError": [
|
|
{
|
|
"guid": "nodejs_latest:assert/ifError[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.ifError",
|
|
"doc": "<p>Tests if value is <code>false</code>; throws an error if it is <code>true</code>. Useful when testing\nthe first argument, <code>error</code>, in callbacks.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_notDeepEqual": [
|
|
{
|
|
"guid": "nodejs_latest:assert/notDeepEqual[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.notDeepEqual",
|
|
"doc": "<p>Tests for any deep inequality.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "actual",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "expected",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_notEqual": [
|
|
{
|
|
"guid": "nodejs_latest:assert/notEqual[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.notEqual",
|
|
"doc": "<p>Tests shallow, coercive non-equality with the not equal comparison operator (\n<code>!=</code> ).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "actual",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "expected",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_notStrictEqual": [
|
|
{
|
|
"guid": "nodejs_latest:assert/notStrictEqual[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.notStrictEqual",
|
|
"doc": "<p>Tests strict non-equality, as determined by the strict not equal operator (\n<code>!==</code> ).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "actual",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "expected",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_ok": [
|
|
{
|
|
"guid": "nodejs_latest:assert/ok[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.ok",
|
|
"doc": "<p>Tests if value is a <code>true</code> value. This is equivalent to <code>assert.equal(true,\nvalue, message);</code>. This is the same as <code>assert()</code>, except that <code>message</code> is not\nrequired.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_strictEqual": [
|
|
{
|
|
"guid": "nodejs_latest:assert/strictEqual[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.strictEqual",
|
|
"doc": "<p>Tests strict equality, as determined by the strict equality operator ( <code>===</code> ).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "actual",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "expected",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_throws": [
|
|
{
|
|
"guid": "nodejs_latest:assert/throws[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert.throws",
|
|
"doc": "<p>If <code>block</code>throws an error, then the assertion passes.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "block",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/assert.html#assert",
|
|
"doc": "<p>All of the <code>assert</code> methods basically compare two different states—an expected\none, and an actual one—and return a Boolean condition. If the comparisson is\n<code>true</code>, the condition passes. If an assert method is <code>false</code>, the entire Node.js\napp crashes.\n</p>\n"
|
|
},
|
|
"nodejs_latest:Buffer": {
|
|
"guid": "nodejs_latest:Buffer",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype",
|
|
"properties": {
|
|
"__charsWritten": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/_charsWritten[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer._charsWritten",
|
|
"doc": "<p>The number of characters written by <code>buffer.write()</code>. This\nvalue is overwritten each time <code>buffer.write()</code> is called.</p>\n"
|
|
}
|
|
],
|
|
"_copy": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/copy[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.copy",
|
|
"doc": "<p>Performs a copy between buffers. The source and target regions can overlap.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "targetBuffer",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "targetStart",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "sourceStart",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "sourceEnd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fill": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/fill[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.fill",
|
|
"doc": "<p>Fills the buffer with the specified value. If the offset and end are not given,\nthis fills the entire buffer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "end",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_index": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/index[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.index",
|
|
"doc": "<p>Gets and sets the octet at <code>index</code> in an array format. The values refer to\nindividual bytes, so the legal range is between <code>0x00</code> and <code>0xFF</code> hex or <code>0</code> and\n<code>255</code>.\n</p>\n"
|
|
}
|
|
],
|
|
"_isBuffer": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/isBuffer[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.isBuffer",
|
|
"doc": "<p>Returns <code>true</code> if <code>obj</code> is a <code>Buffer</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "obj",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_length": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/length[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.length",
|
|
"doc": "<p>The size of the buffer in bytes. Note that this is not necessarily the size of\nthe contents. <code>length</code> refers to the amount of memory allocated for the buffer\nobject. It does not change when the contents of the buffer are changed.\n</p>\n"
|
|
}
|
|
],
|
|
"_constructor": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/constructor[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.new",
|
|
"doc": "<p>Allocates a new buffer object.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_readDoubleBE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readDoubleBE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readDoubleBE",
|
|
"doc": "<p>Reads a 64-bit double from the buffer at the specified offset in big endian\nnotation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readDoubleLE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readDoubleLE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readDoubleLE",
|
|
"doc": "<p>Reads a 64 bit double from the buffer at the specified offset in little endian\nnotation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readFloatBE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readFloatBE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readFloatBE",
|
|
"doc": "<p>Reads a 32 bit float from the buffer at the specified offset in big endian\nnotation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readFloatLE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readFloatLE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readFloatLE",
|
|
"doc": "<p>Reads a 32 bit float from the buffer at the specified offset in little endian\nnotation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readInt16BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readInt16BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readInt16BE",
|
|
"doc": "<p>Reads a signed 16 bit integer from the buffer at the specified offset in big\nendian notation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readInt16LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readInt16LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readInt16LE",
|
|
"doc": "<p>Reads a signed 16 bit integer from the buffer at the specified offset in little\nendian notation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readInt32BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readInt32BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readInt32BE",
|
|
"doc": "<p>Reads a signed 32-bit integer from the buffer at the specified offset in big\nendian notation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readInt32LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readInt32LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readInt32LE",
|
|
"doc": "<p>Reads a signed 32 bit integer from the buffer at the specified offset in little\nendian notation.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readInt8": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readInt8[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readInt8",
|
|
"doc": "<p>Reads a signed 8 bit integer from the buffer at the specified offset.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readUInt16BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readUInt16BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readUInt16BE",
|
|
"doc": "<p>Reads an unsigned 16 bit integer from the buffer at the specified offset in the\nbig endian format.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readUInt16LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readUInt16LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readUInt16LE",
|
|
"doc": "<p>Reads an unsigned 16 bit integer from the buffer at the specified offset in the\nlittle endian format.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readUInt32BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readUInt32BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readUInt32BE",
|
|
"doc": "<p>Reads an unsigned 32 bit integer from the buffer at the specified offset in the\nbig endian format.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readUInt32LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readUInt32LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readUInt32LE",
|
|
"doc": "<p>Reads an unsigned 32 bit integer from the buffer at the specified offset in the\nlittle endian format.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readUInt8": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/readUInt8[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.readUInt8",
|
|
"doc": "<p>Reads an unsigned 8 bit integer from the buffer at the specified offset.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_slice": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/slice[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:Buffer/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.slice",
|
|
"doc": "<p>Returns a new buffer that references the same memory as the old, but offset and\ncropped by the <code>start</code> and <code>end</code> indexes.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "start",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "end",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_toString": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/toString[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.toString",
|
|
"doc": "<p>Decodes and returns a string from buffer data encoded with <code>encoding</code> beginning\nat <code>start</code> and ending at <code>end</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "start",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "end",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.write",
|
|
"doc": "<p>Writes a <code>string</code> to the buffer at <code>offset</code> using the given encoding. <code>length</code>\nis the number of bytes to write. If <code>buffer</code> does not contain enough space to\nfit the entire string, it instead writes a partial amount of the string. The\nmethod doesn't write partial characters.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "string",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "length",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeDoubleBE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeDoubleBE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeDoubleBE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the big endian format.\nNote that <code>value</code> must be a valid 64 bit double.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeDoubleLE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeDoubleLE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeDoubleLE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the little endian\nformat. Note that <code>value</code> must be a valid 64 bit double.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeFloatBE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeFloatBE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeFloatBE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the big endian format.\nNote that <code>value</code> must be a valid 32 bit float.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeFloatLE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeFloatLE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeFloatLE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the little endian\nformat. Note that <code>value</code> must be a valid 32 bit float.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeInt16BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeInt16BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeInt16BE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the big endian format.\nNote that <code>value</code> must be a valid signed 16 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeInt16LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeInt16LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeInt16LE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the little endian\nformat. Note that <code>value</code> must be a valid signed 16 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeInt32BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeInt32BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeInt32BE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the big endian format.\nNote that <code>value</code> must be a valid signed 32 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeInt32LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeInt32LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeInt32LE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the little endian\nformat. Note that <code>value</code> must be a valid signed 32 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeInt8": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeInt8[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeInt8",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset. Note that <code>value</code> must be\na valid signed 8 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeUInt16BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeUInt16BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeUInt16BE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the big endian format.\nNote that <code>value</code> must be a valid unsigned 16 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeUInt16LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeUInt16LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeUInt16LE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the little endian\nformat. Note that <code>value</code> must be a valid unsigned 16 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeUInt32BE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeUInt32BE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeUInt32BE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the big endian format.\nNote that <code>value</code> must be a valid unsigned 32 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeUInt32LE": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeUInt32LE[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeUInt32LE",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset in the little endian\nformat. Note that <code>value</code> must be a valid unsigned 32 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeUInt8": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/prototype/writeUInt8[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.writeUInt8",
|
|
"doc": "<p>Writes <code>value</code> to the buffer at the specified offset. Note that <code>value</code> must be\na valid unsigned 8 bit integer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "noAssert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"_INSPECT_MAX_BYTES": [
|
|
{
|
|
"guid": "nodejs_latest:Buffer/INSPECT_MAX_BYTES[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer.INSPECT_MAX_BYTES",
|
|
"doc": "<p>The number of bytes returned when <code>buffer.inspect()</code> is called; the default is\n50. This can be overridden by user modules.</p>\n"
|
|
}
|
|
],
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/buffer.html#Buffer",
|
|
"doc": "<p>Pure Javascript is Unicode friendly, but not nice to binary data. When dealing\nwith TCP streams or the file system, it's often necessary to handle octet\nstreams. Node has several strategies for manipulating, creating, and consuming\noctet streams.\n</p>\n",
|
|
"fargs": []
|
|
},
|
|
"nodejs_latest:child_process": {
|
|
"guid": "nodejs_latest:child_process",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_exec": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/exec[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.exec",
|
|
"doc": "<p>Runs a Unix command in a shell and buffers the output.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "command",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "stdout",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:streams/ReadableStream/prototype"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "stderr",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:streams/ReadableStream/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_execFile": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/execFile[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.execFile",
|
|
"doc": "<p>A function similar to <code>child.exec()</code>, except instead of executing a subshell it\nexecutes the specified file directly. This makes it slightly leaner than\n<code>child.exec</code>. It has the same options and callback.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "file",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "args",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "stdout",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:streams/ReadableStream/prototype"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "stderr",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:streams/ReadableStream/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fork": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/fork[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.fork",
|
|
"doc": "<p>This is a special case of the <code>child_process.spawn()</code>\nfunctionality for spawning Node.js processes. In addition to having all the\nmethods in a normal ChildProcess instance, the returned object has a\ncommunication channel built-in. The channel is written with <code>child.send(message,\n[sendHandle])</code>, and messages are recieved by a <code>'message'</code> event on the child.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "modulePath",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "arguments",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_kill": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/kill[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.kill",
|
|
"doc": "<p>Sends a signal to the child process. See\n<code>signal(7)</code> for a list of available signals.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "signal",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_pid": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/pid[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.pid",
|
|
"doc": "<p>The PID of the child process.\n</p>\n"
|
|
}
|
|
],
|
|
"_spawn": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/spawn[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.spawn",
|
|
"doc": "<p>Launches a new process for the given Unix <code>command</code>. You can pass command line\narguments through <code>args</code>. <code>options</code> specifies additional options, which default\nto:\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "command",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "args",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_stdin": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/stdin[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:streams/WritableStream/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.stdin",
|
|
"doc": "<p>A <code>Writable Stream</code> that represents the child\nprocess's <code>stdin</code>. Closing this stream via <code>streams.WritableStream.end()</code> often causes the child process to terminate.</p>\n"
|
|
}
|
|
],
|
|
"_stdout": [
|
|
{
|
|
"guid": "nodejs_latest:child_process/stdout[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:streams/ReadableStream/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process.stdout",
|
|
"doc": "<p>A <code>Readable Stream</code> that represents the child\nprocess's <code>stdout</code>.</p>\n"
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/child_process.html#child_process",
|
|
"doc": "<p>Node.js provides a tri-directional\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man3/popen.3.html\"><code>popen(3)</code></a>\nfacility through the <code>child_process</code> module. It's possible to stream data\nthrough the child's <code>stdin</code>, <code>stdout</code>, and <code>stderr</code> in a fully non-blocking way.\n</p>\n"
|
|
},
|
|
"nodejs_latest:cluster": {
|
|
"guid": "nodejs_latest:cluster",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_disconnect": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/disconnect[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster.disconnect",
|
|
"doc": "<p>When calling this method, all workers will commit a graceful suicide. After they\nare disconnected, all internal handlers will be closed, allowing the master\nprocess to die graceful if no other event is waiting.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fork": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/fork[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:worker/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster.fork",
|
|
"doc": "<p>Spawns a new worker process. This can only be called from the master process.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "env",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isMaster": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/isMaster[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Boolean/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster.isMaster",
|
|
"doc": "<p>Flag to determine if the current process is a master process in a cluster. A\nprocess is a master if <code>process.env.NODE_WORKER_ID</code> is undefined.</p>\n"
|
|
}
|
|
],
|
|
"_isWorker": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/isWorker[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Boolean/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster.isWorker",
|
|
"doc": "<p>Flag to determine if the current process is a worker process in a cluster. A\nprocess is a worker if <code>process.env.NODE_WORKER_ID</code> is defined.</p>\n"
|
|
}
|
|
],
|
|
"_settings": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/settings[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster.settings",
|
|
"doc": "<p>All settings set by the <code>setupMaster</code> are stored in this\nsettings object. This object is not supposed to be change or set manually by\nyou.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "settings",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setupMaster": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/setupMaster[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster.setupMaster",
|
|
"doc": "<p><code>setupMaster</code> is used to change the default <code>'fork'</code> behavior. It takes one\noption object argument.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "settings",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_workers": [
|
|
{
|
|
"guid": "nodejs_latest:cluster/workers[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster.workers",
|
|
"doc": "<p>In the cluster, all living worker objects are stored in this object by their\n<code>uniqueID</code> as the key. This makes it easy to loop through all living workers,\nlike this:\n</p>\n"
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#cluster",
|
|
"doc": "<p>A single instance of Node runs in a single thread. To take advantage of\nmulti-core systems the user will sometimes want to launch a cluster of Node\nprocesses to handle the load.\n</p>\n"
|
|
},
|
|
"nodejs_latest:crypto/cipher": {
|
|
"guid": "nodejs_latest:crypto/cipher",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/cipher/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_final": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/cipher/final[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.cipher.final",
|
|
"doc": "<p>Returns any remaining enciphered contents. <code>output_encoding</code> can be <code>'binary'</code>,\n<code>'base64'</code>, or <code>'hex'</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "output_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setAutoPadding": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/cipher/setAutoPadding[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.cipher.setAutoPadding",
|
|
"doc": "<p>You can disable automatic padding of the input data to block size.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "auto_padding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_update": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/cipher/update[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/cipher/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.cipher.update",
|
|
"doc": "<p>Updates the cipher with <code>data</code>. This returns the enciphered contents, and can be\ncalled many times with new data as it is streamed.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "input_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "output_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.cipher",
|
|
"doc": "<p>A class for encrypting data. It's a representation of the <a target=\"c9doc\" href=\"http://www.openssl.org/docs/apps/ciphers.html\">OpenSSL\nimplementation of cipher</a>. It can\nbe created as a returned value from <code>crypto.createCipher()</code> or <code>crypto.createCipheriv()</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:crypto/decipher": {
|
|
"guid": "nodejs_latest:crypto/decipher",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/decipher/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_final": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/decipher/final[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.decipher.final",
|
|
"doc": "<p>Returns any remaining plaintext which is deciphered.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "output_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setAutoPadding": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/decipher/setAutoPadding[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.decipher.setAutoPadding",
|
|
"doc": "<p>You can disable auto padding if the data has been encrypted without standard\nblock padding to prevent\n<code>decipher.final</code> from checking and removing it. Can only work if the input\ndata's length is a multiple of the\nciphers block size. You must call this before streaming data to\n<code>decipher.update</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "auto_padding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_update": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/decipher/update[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/decipher/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.decipher.update",
|
|
"doc": "<p>Updates the decipher with <code>data</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "input_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "output_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.decipher",
|
|
"doc": "<p>A class for decrypting data. It's used to decipher previously created\n<code>cipher</code> objects. It can be created as a returned value from\n<code>crypto.createDeipher()</code> or <code>crypto.createDecipheriv()</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:crypto/diffieHellman": {
|
|
"guid": "nodejs_latest:crypto/diffieHellman",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_computeSecret": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/computeSecret[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.computeSecret",
|
|
"doc": "<p>Computes the shared secret and returns the computed shared secret.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "other_public_key",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "input_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "output_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_generateKeys": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/generateKeys[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.generateKeys",
|
|
"doc": "<p>Generates private and public Diffie-Hellman key values, and returns the public\nkey in the specified encoding. This key should be transferred to the other\nparty.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_getGenerator": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/getGenerator[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.getGenerator",
|
|
"doc": "<p>Returns the Diffie-Hellman prime in the specified encoding.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_getPrime": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/getPrime[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.getPrime",
|
|
"doc": "<p>Returns the Diffie-Hellman prime in the specified encoding.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_getPrivateKey": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/getPrivateKey[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.getPrivateKey",
|
|
"doc": "<p>Returns the Diffie-Hellman private key in the specified encoding.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_getPublicKey": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/getPublicKey[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.getPublicKey",
|
|
"doc": "<p>Returns the Diffie-Hellman public key in the specified encoding.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setPrivateKey": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/setPrivateKey[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.setPrivateKey",
|
|
"doc": "<p>Sets the Diffie-Hellman private key.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "public_key",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setPublicKey": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/diffieHellman/setPublicKey[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman.setPublicKey",
|
|
"doc": "<p>Sets the Diffie-Hellman public key.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "public_key",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.diffieHellman",
|
|
"doc": "<p>This is a class for creating Diffie-Hellman key exchanges. It's a representation\nof the <a target=\"c9doc\" href=\"http://www.openssl.org/docs/crypto/dh.html#\">OpenSSL implementation of\ndiffie-Hellman</a>. It can be created\nas a returned value from <code>crypto.createDiffieHellman()</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:crypto/hash": {
|
|
"guid": "nodejs_latest:crypto/hash",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/hash/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_digest": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/hash/digest[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.hash.digest",
|
|
"doc": "<p>Calculates the digest of all of the passed data to be hashed.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_update": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/hash/update[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.hash.update",
|
|
"doc": "<p>Updates the hash content with the given <code>data</code>. This can be called many times\nwith new data as it is streamed.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "input_encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.hash",
|
|
"doc": "<p>The class for creating hash digests of data. It's class a representation of the\n<a target=\"c9doc\" href=\"http://www.openssl.org/docs/crypto/crypto.html#item_AUTHENTICATION\">OpenSSL implementation of\nhash</a>\nalgorithms. It can be created as a returned value from <code>crypto.createHash()</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:crypto/hmac": {
|
|
"guid": "nodejs_latest:crypto/hmac",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/hmac/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_digest": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/hmac/digest[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.hmac.digest",
|
|
"doc": "<p>Calculates the digest of all of the passed data to the hmac.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_update": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/hmac/update[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/hmac/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.hmac.update",
|
|
"doc": "<p>Update the HMAC content with the given <code>data</code>. This can be called many times\nwith new data as it is streamed.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.hmac",
|
|
"doc": "<p>A class for creating cryptographic hmac content. It's a representation of the\n<a target=\"c9doc\" href=\"http://www.openssl.org/docs/crypto/hmac.html#\">OpenSSL implementation of hmac</a>\nalgorithms. It can be created as a returned value from <code>crypto.createHmac()</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:crypto/signer": {
|
|
"guid": "nodejs_latest:crypto/signer",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/signer/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_sign": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/signer/sign[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.signer.sign",
|
|
"doc": "<p>Calculates the signature on all the updated data passed through the signer.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "private_key",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "output_format",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_update": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/signer/update[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/signer/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.signer.update",
|
|
"doc": "<p>Updates the signer object with data. This can be called many times with new data\nas it is streamed.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.signer",
|
|
"doc": "<p>This class is used to generate certificates for OpenSSL. It can be created as a\nreturned value from <code>crypto.createSign()</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:crypto/verifier": {
|
|
"guid": "nodejs_latest:crypto/verifier",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/verifier/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_update": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/verifier/update[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:crypto/verifier/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.verifier.update",
|
|
"doc": "<p>Updates the verifier object with data. This can be called many times with new\ndata as it is streamed.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_verify": [
|
|
{
|
|
"guid": "nodejs_latest:crypto/verifier/verify[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.verifier.verify",
|
|
"doc": "<p>Returns <code>true</code> or <code>false</code> depending on the validity of the signature for the\ndata and public key.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "object",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "signature",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "signature_format",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/crypto.html#crypto.verifier",
|
|
"doc": "<p>This class is used to verify signed certificates for OpenSSL. It can be created\nas a returned value from <code>crypto.createVerify()</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:dgram": {
|
|
"guid": "nodejs_latest:dgram",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_addMembership": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/addMembership[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.addMembership",
|
|
"doc": "<p>Tells the kernel to join a multicast group with the <code>IP_ADD_MEMBERSHIP</code> socket\noption.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "multicastAddress",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "multicastInterface",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_address": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/address[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.address",
|
|
"doc": "<p>Returns an object containing the address information for a socket. For UDP\nsockets, this object contains the properties <code>address</code> and <code>port</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_bind": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/bind[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.bind",
|
|
"doc": "<p>For UDP sockets, listen for datagrams on a named <code>port</code> and optional <code>address</code>.\nIf <code>address</code> isn't specified, the OS tries to listen on all addresses.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "port",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "address",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.close",
|
|
"doc": "<p>Close the underlying socket and stop listening for data on it.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_createSocket": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/createSocket[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:dgram/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.createSocket",
|
|
"doc": "<p>Creates a datagram socket of the specified types.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "type",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_dropMembership": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/dropMembership[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.dropMembership",
|
|
"doc": "<p>The opposite of <code>addMembership</code>—this tells the kernel to leave a multicast group\nwith <code>IP_DROP_MEMBERSHIP</code> socket option. This is automatically called by the\nkernel when the socket is closed or process terminates, so most apps will never\nneed to call this.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "multicastAddress",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "multicastInterface",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_send": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/send[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.send",
|
|
"doc": "<p>Sends some information to a specified <code>address:port</code>. For UDP sockets, the\ndestination port and IP address must be specified.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "length",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "port",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "address",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setBroadcast": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/setBroadcast[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.setBroadcast",
|
|
"doc": "<p>Sets or clears the <code>SO_BROADCAST</code> socket option. When this option is set to\n<code>true</code>, UDP packets may be sent to a local interface's broadcast address.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "flag",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setMulticastLoopback": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/setMulticastLoopback[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.setMulticastLoopback",
|
|
"doc": "<p>Sets or clears the <code>IP_MULTICAST_LOOP</code> socket option. When this option is\n<code>true</code>, multicast packets will also be received on the local interface.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "flag",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setMulticastTTL": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/setMulticastTTL[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.setMulticastTTL",
|
|
"doc": "<p>Sets the <code>IP_MULTICAST_TTL</code> socket option. TTL stands for "Time to Live," but\nin this context it specifies the number of IP hops that a packet is allowed to\ngo through, specifically for multicast traffic. Each router or gateway that\nforwards a packet decrements the TTL. If the TTL is decremented to 0 by a\nrouter, it will not be forwarded.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "ttl",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setTTL": [
|
|
{
|
|
"guid": "nodejs_latest:dgram/setTTL[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram.setTTL",
|
|
"doc": "<p>Sets the <code>IP_TTL</code> socket option. TTL stands for "Time to Live," but in this\ncontext it specifies the number of IP hops that a packet is allowed to go\nthrough. Each router or gateway that forwards a packet decrements the TTL. If\nthe TTL is decremented to 0 by a router, it will not be forwarded. Changing TTL\nvalues is typically done for network probes or when multicasting.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "ttl",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#dgram",
|
|
"doc": "<p>A datagram socket is a type of connectionless Internet socket, for the sending\nor receiving point for packet delivery services. Datagram sockets are available\nin Node.js by adding <code>require('dgram')</code> to your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:dns": {
|
|
"guid": "nodejs_latest:dns",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:dns/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_lookup": [
|
|
{
|
|
"guid": "nodejs_latest:dns/lookup[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.lookup",
|
|
"doc": "<p>Resolves a domain (e.g. <code>'google.com'</code>) into the first found A (IPv4) or AAAA\n(IPv6) record.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "family",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "address",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "family",
|
|
"type": [
|
|
"es5:Number/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolve": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolve[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolve",
|
|
"doc": "<p>Resolves a domain (e.g. <code>'google.com'</code>) into an array of the record types\nspecified by <code>rrtype</code>. Valid rrtypes are:\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "rrtype",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "addresses",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolve4": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolve4[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolve4",
|
|
"doc": "<p>The same as <code>dns.resolve()</code>, but only for IPv4 queries (<code>A</code>\nrecords).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "addresses",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolve6": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolve6[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolve6",
|
|
"doc": "<p>The same as <code>dns.resolve4()</code> except for IPv6 queries (an <code>AAAA</code>\nquery).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "addresses",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolveCname": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolveCname[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolveCname",
|
|
"doc": "<p>The same as <code>dns.resolve()</code>, but only for canonical name records\n(<code>CNAME</code> records).\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "domains",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolveMx": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolveMx[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolveMx",
|
|
"doc": "<p>The same as <code>dns.resolve()</code>, but only for mail exchange queries\n(<code>MX</code> records).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "addresses",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolveNs": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolveNs[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolveNs",
|
|
"doc": "<p>The same as <code>dns.resolve()</code>, but only for name server records\n(<code>NS</code> records).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "domains",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolveSrv": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolveSrv[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolveSrv",
|
|
"doc": "<p>The same as <code>dns.resolve()</code>, but only for service records (<code>SRV</code>\nrecords).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "addresses",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolveTxt": [
|
|
{
|
|
"guid": "nodejs_latest:dns/resolveTxt[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.resolveTxt",
|
|
"doc": "<p>The same as <code>dns.resolve()</code>, but only for text queries (<code>TXT</code>\nrecords).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "domain",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "addresses",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_reverse": [
|
|
{
|
|
"guid": "nodejs_latest:dns/reverse[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns.reverse",
|
|
"doc": "<p>Reverse resolves an IP address to an array of domain names.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "ip",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "domains",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dns.html#dns",
|
|
"doc": "<p>DNS is the backbone of all operations on the Internet. To access this module,\ninclude <code>require('dns')</code> in your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:eventemitter": {
|
|
"guid": "nodejs_latest:eventemitter",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_addListener": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/addListener[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter.addListener",
|
|
"doc": "<p>Adds a listener to the end of the listeners array for the specified event.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "event",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_emit": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/emit[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter.emit",
|
|
"doc": "<p>Execute each of the subscribed listeners in order with the supplied arguments.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "event",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "arg",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_listeners": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/listeners[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter.listeners",
|
|
"doc": "<p>Returns an array of listeners for the specified event. This array can be\nmanipulated, e.g. to remove listeners.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "event",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_once": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/once[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter.once",
|
|
"doc": "<p>Adds a <strong>one time</strong> listener for the event. This listener is invoked only the\nnext time the event is fired, after which it is removed.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "event",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "listener",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_removeAllListeners": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/removeAllListeners[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter.removeAllListeners",
|
|
"doc": "<p>Removes all listeners, or those of the specified event.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "event",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_removeListener": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/removeListener[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter.removeListener",
|
|
"doc": "<p>Remove a listener from the listener array for the specified event.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "event",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "listener",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setMaxListeners": [
|
|
{
|
|
"guid": "nodejs_latest:eventemitter/setMaxListeners[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter.setMaxListeners",
|
|
"doc": "<p>By default, EventEmitters print a warning if more than 10 listeners are added\nfor a particular event. This is a useful default which helps finding memory\nleaks.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "n",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/events.html#eventemitter",
|
|
"doc": "<p>Many objects in Node.js emit events. Some examples include:\n</p>\n"
|
|
},
|
|
"nodejs_latest:fs": {
|
|
"guid": "nodejs_latest:fs",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:fs/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_chmod": [
|
|
{
|
|
"guid": "nodejs_latest:fs/chmod[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.chmod",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/chmod.2.html\">chmod(2)</a>.\nThis changes the permissions of the file specified whose, which is dereferenced\nif it is a symbolic link.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_chmodSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/chmodSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.chmodSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/chmod.2.html\">chmod(2)</a>.\nThis changes the permissions of the file specified whose, which is dereferenced\nif it is a symbolic link.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_chown": [
|
|
{
|
|
"guid": "nodejs_latest:fs/chown[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.chown",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/chown.2.html\">chown(2)</a>.\nThis changes the ownership of the file specified by <code>path</code>, which is\nde-referenced if it is a symbolic link.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "uid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "gid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_chownSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/chownSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.chownSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/chown.2.html\">chown(2)</a>.\nThis changes the ownership of the file specified by <code>path</code>, which is\ndereferenced if it is a symbolic link</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "uid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "gid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:fs/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.close",
|
|
"doc": "<p>An asynchronous file close; for more information, see\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/close.2.html\">close(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_closeSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/closeSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.closeSync",
|
|
"doc": "<p>A synchronous file close; for more information, see\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/close.2.html\">close(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createReadStream": [
|
|
{
|
|
"guid": "nodejs_latest:fs/createReadStream[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/ReadStream/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.createReadStream",
|
|
"doc": "<p>Returns a new <code>fs.ReadStream</code> object.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createWriteStream": [
|
|
{
|
|
"guid": "nodejs_latest:fs/createWriteStream[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/WriteStream/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.createWriteStream",
|
|
"doc": "<p>Returns a new WriteStream object.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fchmod": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fchmod[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fchmod",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/fchmod.2.html\">fchmod(2)</a>\n. This changes the permissions of the file referred to by the open file\ndescriptor.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fchmodSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fchmodSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fchmodSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/fchmod.2.html\">fchmod(2)</a>\n. This changes the permissions of the file referred to by the open file\ndescriptor.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fchown": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fchown[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fchown",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/fchown.2.html\">fchown(2)</a>\n. This changes the ownership of the file referred to by the open file descriptor\nfd.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "uid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "gid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fchownSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fchownSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fchownSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/fchown.2.html\">fchown(2)</a>\n. This changes the ownership of the file referred to by the open file descriptor\nfd.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "uid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "gid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fstat": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fstat[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fstat",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html\">fstat(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "stats",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fstatSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fstatSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fstatSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html\">fstat(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fsync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fsync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fsync",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/fsync.2.html\">fsync(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_fsyncSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/fsyncSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.fsyncSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/fsync.2.html\">fsync(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_futimes": [
|
|
{
|
|
"guid": "nodejs_latest:fs/futimes[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.futimes",
|
|
"doc": "<p>An asynchronous\nfutimes(3). Change the file timestamps of a file referenced by the supplied file\ndescriptor.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "atime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mtime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_futimesSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/futimesSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.futimesSync",
|
|
"doc": "<p>A synchronous\nfutimes(3). Change the file timestamps of a file referenced by the supplied file\ndescriptor.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "atime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mtime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_lchmod": [
|
|
{
|
|
"guid": "nodejs_latest:fs/lchmod[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.lchmod",
|
|
"doc": "<p>An asynchronous <a target=\"c9doc\" href=\"http://www.daemon-systems.org/man/lchmod.2.html\">lchmod(2)</a>.\nThis is like <code>chmod()</code> except in the case where the named file is a\nsymbolic link, in which case <code>lchmod()</code> sets the permission bits of the link,\nwhile <code>chmod()</code> sets the bits of the file the link references.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_lchmodSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/lchmodSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.lchmodSync",
|
|
"doc": "<p>A synchronous <a target=\"c9doc\" href=\"http://www.daemon-systems.org/man/lchmod.2.html\">lchmod(2)</a>. This\nis like <code>chmodSync()</code>except in the case where the named file is\na symbolic link, in which case <code>lchmod()</code> sets the permission bits of the link,\nwhile <code>chmod()</code> sets the bits of the file the link references.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_lchown": [
|
|
{
|
|
"guid": "nodejs_latest:fs/lchown[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.lchown",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/lchown.2.html\">lchown(2)</a>\n. This is like <code>chown()</code>, but doesn't dereference symbolic links.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "uid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "gid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_lchownSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/lchownSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.lchownSync",
|
|
"doc": "<p>Synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/lchown.2.html\">lchown(2)</a>\n. This is like <code>chownSync()</code>, but doesn't dereference symbolic\nlinks</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "uid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "gid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_link": [
|
|
{
|
|
"guid": "nodejs_latest:fs/link[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.link",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/link.2.html\">link(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "srcpath",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "dstpath",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_linkSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/linkSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.linkSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/link.2.html\">link(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "srcpath",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "dstpath",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_lstat": [
|
|
{
|
|
"guid": "nodejs_latest:fs/lstat[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.lstat",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html\">lstat(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "stats",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_lstatSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/lstatSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.lstatSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html\">lstat(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_mkdir": [
|
|
{
|
|
"guid": "nodejs_latest:fs/mkdir[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.mkdir",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/mkdir.2.html\">mkdir(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_mkdirSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/mkdirSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.mkdirSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/mkdir.2.html\">mkdir(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_open": [
|
|
{
|
|
"guid": "nodejs_latest:fs/open[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.open",
|
|
"doc": "<p>An asynchronous file open; for more information, see\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/open.2.html\">open(2)</a>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "flags",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Number/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_openSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/openSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.openSync",
|
|
"doc": "<p>A synchronous file open; for more information, see\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/open.2.html\">open(2)</a>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "flags",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_read": [
|
|
{
|
|
"guid": "nodejs_latest:fs/read[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.read",
|
|
"doc": "<p>Read data from the file specified by <code>fd</code> and writes it to <code>buffer</code>. If\n<code>position</code> is <code>null</code>, data will be read from the current file position.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "buffer",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "length",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "position",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "bytesRead",
|
|
"type": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "buffer",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:Buffer/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readdir": [
|
|
{
|
|
"guid": "nodejs_latest:fs/readdir[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.readdir",
|
|
"doc": "<p>An asynchronous\nreaddir(3). It reads the contents of a directory.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "files",
|
|
"type": [
|
|
"es5:Array/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readdirSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/readdirSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.readdirSync",
|
|
"doc": "<p>A synchronous\nreaddir(3). Returns an array of filenames, excluding <code>'.'</code> and <code>'..'</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readFile": [
|
|
{
|
|
"guid": "nodejs_latest:fs/readFile[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.readFile",
|
|
"doc": "<p>Asynchronously reads the entire contents of a file. If no encoding is specified,\nthen the raw buffer is returned.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:Buffer/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readFileSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/readFileSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.readFileSync",
|
|
"doc": "<p>Synchronous version of <code>fs.readFile()</code>. Returns the contents of\nthe <code>filename</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readlink": [
|
|
{
|
|
"guid": "nodejs_latest:fs/readlink[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.readlink",
|
|
"doc": "<p>An asynchronous\nreadlink(2).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "linkString",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readlinkSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/readlinkSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.readlinkSync",
|
|
"doc": "<p>A synchronous\nreadlink(2).\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_readSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/readSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.readSync",
|
|
"doc": "<p>The synchronous version of buffer-based <code>fs.read()</code>. Reads data from\nthe file specified by <code>fd</code> and writes it to <code>buffer</code>. If <code>position</code> is <code>null</code>,\ndata will be read from the current file position.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_realpath": [
|
|
{
|
|
"guid": "nodejs_latest:fs/realpath[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.realpath",
|
|
"doc": "<p>An asynchronous\nrealpath(3). You can use <code>process.cwd()</code> to resolve relative paths.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "resolvedPath",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_realpathSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/realpathSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.realpathSync",
|
|
"doc": "<p>A synchronous\nrealpath(3).\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_rename": [
|
|
{
|
|
"guid": "nodejs_latest:fs/rename[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.rename",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/rename.2.html\">rename(2)</a>\noperation. Turns <code>path1</code> into <code>path2</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path1",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "path2",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_renameSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/renameSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.renameSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/rename.2.html\">rename(2)</a>\noperation. Turns <code>path1</code> into <code>path2</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path1",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "path2",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_rmdir": [
|
|
{
|
|
"guid": "nodejs_latest:fs/rmdir[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.rmdir",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/rmdir.2.html\">rmdir(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_rmdirSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/rmdirSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.rmdirSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/rmdir.2.html\">rmdir(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_stat": [
|
|
{
|
|
"guid": "nodejs_latest:fs/stat[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.stat",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html\">stat(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "stats",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_statSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/statSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.statSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html\">stat(2)</a>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_symlink": [
|
|
{
|
|
"guid": "nodejs_latest:fs/symlink[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.symlink",
|
|
"doc": "<p>An asynchronous\nsymlink(2).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "linkdata",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "type",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_symlinkSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/symlinkSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.symlinkSync",
|
|
"doc": "<p>A synchronous\nsymlink(2).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "linkdata",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "type",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_truncate": [
|
|
{
|
|
"guid": "nodejs_latest:fs/truncate[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.truncate",
|
|
"doc": "<p>An asynchronous\nftruncate(2). It truncates a file to the specified length.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "len",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_truncateSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/truncateSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.truncateSync",
|
|
"doc": "<p>A synchronous\nftruncate(2). It truncates a file to the specified length.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "len",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_unlink": [
|
|
{
|
|
"guid": "nodejs_latest:fs/unlink[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.unlink",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/unlink.2.html\">unlink(2)</a>\n.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_unlinkSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/unlinkSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.unlinkSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/unlink.2.html\">unlink(2)</a>\n.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_unwatchFile": [
|
|
{
|
|
"guid": "nodejs_latest:fs/unwatchFile[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.unwatchFile",
|
|
"doc": "<p>Stops watching for changes on <code>filename</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_utimes": [
|
|
{
|
|
"guid": "nodejs_latest:fs/utimes[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.utimes",
|
|
"doc": "<p>An asynchronous\n<a target=\"c9doc\" href=\"http://kernel.org/doc/man-pages/online/pages/man2/utime.2.html\">utime(2)</a>.\nChanges the timestamps of the file referenced by the supplied path.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "atime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mtime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_utimesSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/utimesSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.utimesSync",
|
|
"doc": "<p>A synchronous\n<a target=\"c9doc\" href=\"http://kernel.org/doc/man-pages/online/pages/man2/utime.2.html\">utime(2)</a>.\nChange the timestamps of the file referenced by the supplied path.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "atime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "mtime",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_watch": [
|
|
{
|
|
"guid": "nodejs_latest:fs/watch[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:fs/FSWatcher/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.watch",
|
|
"doc": "<p>Watch for changes on <code>filename</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "event",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:String/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_watchFile": [
|
|
{
|
|
"guid": "nodejs_latest:fs/watchFile[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.watchFile",
|
|
"doc": "<p>Watches for changes on <code>filename</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "curr",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "prev",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:fs/Stats/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:fs/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.write",
|
|
"doc": "<p>Writes <code>buffer</code> to the file specified by <code>fd</code>. Note that it's unsafe to use\n<code>fs.write</code> multiple times on the same file without waiting for the callback. For\nthis scenario, <code>fs.createWriteStream()</code> is strongly\nrecommended.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "buffer",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "offset",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "length",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "position",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "err",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "written",
|
|
"type": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "buffer",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:Buffer/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeFile": [
|
|
{
|
|
"guid": "nodejs_latest:fs/writeFile[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.writeFile",
|
|
"doc": "<p>Asynchronously writes data to a file, replacing the file if it already exists.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeFileSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/writeFileSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.writeFileSync",
|
|
"doc": "<p>The synchronous version of <code>fs.writeFile()</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeSync": [
|
|
{
|
|
"guid": "nodejs_latest:fs/writeSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.writeSync",
|
|
"doc": "<p>A synchronous version of the buffer-based <code>fs.write()</code>.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs",
|
|
"doc": "<p>In Node.js, file input and output is provided by simple wrappers around standard\n<a target=\"c9doc\" href=\"http://en.wikipedia.org/wiki/POSIX\">POSIX functions</a>. All the read and write\nmethods methods have asynchronous and synchronous forms. To use this module,\ninclude <code>require('fs')</code> in your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:fs/FSWatcher": {
|
|
"guid": "nodejs_latest:fs/FSWatcher",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:fs/FSWatcher/prototype",
|
|
"properties": {
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:fs/FSWatcher/prototype/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.FSWatcher.close",
|
|
"doc": "<p>Stop watching for changes on the given <code>FSWatcher</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.FSWatcher",
|
|
"doc": "<p>Objects returned from <code>fs.watch()</code> are of this type. You can\nmonitor any changes that occur on a watched file by listening for the events in\nthis object.</p>\n"
|
|
},
|
|
"nodejs_latest:fs/ReadStream": {
|
|
"guid": "nodejs_latest:fs/ReadStream",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:fs/ReadStream/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.ReadStream",
|
|
"doc": "<p>This is a streams.ReadableStream, created from the\nfunction <code>fs.createReadStream()</code>.</p>\n"
|
|
},
|
|
"nodejs_latest:fs/Stats": {
|
|
"guid": "nodejs_latest:fs/Stats",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype",
|
|
"properties": {
|
|
"_isBlockDevice": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype/isBlockDevice[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats.isBlockDevice",
|
|
"doc": "<p>Indicates if the object is a <a target=\"c9doc\" href=\"http://en.wikipedia.org/wiki/Device_file#Block_devices\">block\ndevice</a>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_isCharacterDevice": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype/isCharacterDevice[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats.isCharacterDevice",
|
|
"doc": "<p>Indicates if the object is a <a target=\"c9doc\" href=\"http://en.wikipedia.org/wiki/Device_file#Character_devices\">character\ndevice</a>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_isDirectory": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype/isDirectory[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats.isDirectory",
|
|
"doc": "<p>Indicates if the object is a directory.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_isFIFO": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype/isFIFO[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats.isFIFO",
|
|
"doc": "<p>Indicates if the object is a <a target=\"c9doc\" href=\"http://en.wikipedia.org/wiki/Named_pipe\">named\npipe</a>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_isFile": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype/isFile[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats.isFile",
|
|
"doc": "<p>Indicates if the object is a file.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_isSocket": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype/isSocket[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats.isSocket",
|
|
"doc": "<p>Indicates if the object is a <a target=\"c9doc\" href=\"http://en.wikipedia.org/wiki/Unix_file_types#Socket\">socket\nfile</a>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_isSymbolicLink": [
|
|
{
|
|
"guid": "nodejs_latest:fs/Stats/prototype/isSymbolicLink[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats.isSymbolicLink",
|
|
"doc": "<p>Indicates if the object is a symbolic link; this is only valid with <code>fs.lstat()</code>\nand <code>fs.lstatSynch()</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.Stats",
|
|
"doc": "<p>Objects returned from <code>fs.stat()</code>, <code>fs.lstat()</code>, and\n<code>fs.fstat()</code> (and their synchronous counterparts) are of this type.\nThe object contains the following methods:\n</p>\n"
|
|
},
|
|
"nodejs_latest:fs/WriteStream": {
|
|
"guid": "nodejs_latest:fs/WriteStream",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:fs/WriteStream/prototype",
|
|
"properties": {
|
|
"_bytesWritten": [
|
|
{
|
|
"guid": "nodejs_latest:fs/WriteStream/prototype/bytesWritten[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.WriteStream.bytesWritten",
|
|
"doc": "<p>The number of bytes written so far. This doesn't include data that is still\nqueued for writing.</p>\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/fs.html#fs.WriteStream",
|
|
"doc": "<p>This is a WriteStream, created from the function\n<code>fs.createWriteStream()</code>.</p>\n"
|
|
},
|
|
"nodejs_latest:http": {
|
|
"guid": "nodejs_latest:http",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:http/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_createClient": [
|
|
{
|
|
"guid": "nodejs_latest:http/createClient[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.createClient",
|
|
"doc": "<p>This function is <strong>deprecated</strong>; please use\nhttp.request() instead.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "port",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "host",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createServer": [
|
|
{
|
|
"guid": "nodejs_latest:http/createServer[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:http/Server/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.createServer",
|
|
"doc": "<p>Returns a new web server object.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "requestListener",
|
|
"opt": true,
|
|
"suggest": [
|
|
{
|
|
"name": "process.env.port",
|
|
"replaceText": "process.env.port"
|
|
}
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "req",
|
|
"type": [
|
|
"nodejs_latest:http/ServerRequest/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "res",
|
|
"type": [
|
|
"nodejs_latest:http/ServerResponse/prototype"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_get": [
|
|
{
|
|
"guid": "nodejs_latest:http/get[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.get",
|
|
"doc": "<p>Since most requests are GET requests without bodies, Node.js provides this\nconvenience method. The only difference between this method and <code>http.request()</code> is that it sets the method to GET and calls <code>req.end()</code>\nautomatically.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_globalAgent": [
|
|
{
|
|
"guid": "nodejs_latest:http/globalAgent[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:http/Agent/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.globalAgent",
|
|
"doc": "<p>This is the global instance of <code>http.Agent</code> which is used as the\ndefault for all HTTP client requests.</p>\n"
|
|
}
|
|
],
|
|
"_request": [
|
|
{
|
|
"guid": "nodejs_latest:http/request[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:http/ClientRequest/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.request",
|
|
"doc": "<p>Node.js maintains several connections per server to make HTTP requests. This\nfunction allows one to transparently issue requests.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "response",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:http/ClientRequest/prototype"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http",
|
|
"doc": "<p>The HTTP interfaces in Node.js are designed to support many features of the\nprotocol which have been traditionally difficult to use. In particular, large,\npossibly chunk-encoded, messages. The interface is careful to never buffer\nentire requests or responses—the user is always able to stream data. To use the\nHTTP server and client, add <code>require('http')</code> to your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:http/Agent": {
|
|
"guid": "nodejs_latest:http/Agent",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:http/Agent/prototype",
|
|
"properties": {
|
|
"_maxSockets": [
|
|
{
|
|
"guid": "nodejs_latest:http/Agent/prototype/maxSockets[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.Agent.maxSockets",
|
|
"doc": "<p>Determines how many concurrent sockets the agent can have open per host. By\ndefault, this is set to 5.</p>\n"
|
|
}
|
|
],
|
|
"_sockets": [
|
|
{
|
|
"guid": "nodejs_latest:http/Agent/prototype/sockets[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.Agent.sockets",
|
|
"doc": "<p>An object which contains arrays of sockets currently in use by the Agent.\n<strong>Don't modify this!</strong></p>\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.Agent",
|
|
"doc": "<p>Starting with Node.js version 0.5.3, there's a new implementation of the HTTP\nAgent which is used for pooling sockets used in HTTP client requests.\n</p>\n"
|
|
},
|
|
"nodejs_latest:http/ClientRequest": {
|
|
"guid": "nodejs_latest:http/ClientRequest",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientRequest/prototype",
|
|
"properties": {
|
|
"_abort": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientRequest/prototype/abort[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientRequest.abort",
|
|
"doc": "<p>Aborts a request, since NOde.js version 0.3.8.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_end": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientRequest/prototype/end[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientRequest.end",
|
|
"doc": "<p>Finishes sending the request. If any parts of the body are unsent, it will flush\nthem to the stream. If the request is chunked, this will send the terminating\n<code>'0\\r\\n\\r\\n'</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setNoDelay": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientRequest/prototype/setNoDelay[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientRequest.setNoDelay",
|
|
"doc": "<p>Once a socket is assigned to this request and is connected,\n<code>net.Socket.setNoDelay()</code> is called.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "noDelay",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setSocketKeepAlive": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientRequest/prototype/setSocketKeepAlive[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientRequest.setSocketKeepAlive",
|
|
"doc": "<p>Once a socket is assigned to this request and is connected,\n<code>net.Socket.setKeepAlive()</code> is called.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "enable",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "initialDelay",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setTimeout": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientRequest/prototype/setTimeout[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientRequest.setTimeout",
|
|
"doc": "<p>Once a socket is assigned to this request and is connected,\n<code>net.Socket.setTimeout()</code> is called.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "timeout",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientRequest/prototype/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientRequest.write",
|
|
"doc": "<p>Sends a chunk of the body. By calling this method many times, the user can\nstream a request body to a server—in that case, it's suggested you use the\n<code>['Transfer-Encoding', 'chunked']</code> header line when creating the request.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "chunk",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientRequest",
|
|
"doc": "<p>This object is created internally and returned from <code>http.request()</code>. It represents an <em>in-progress</em> request whose header has\nalready been queued. The header is still mutable using the <code>setHeader(name,\nvalue)</code>, <code>getHeader(name)</code>, and <code>removeHeader(name)</code> methods. The actual header\nwill be sent along with the first data chunk or when closing the connection.\nThis is both a <code>Writable Stream</code> and an\n<code>EventEmitter</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:http/ClientResponse": {
|
|
"guid": "nodejs_latest:http/ClientResponse",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype",
|
|
"properties": {
|
|
"_header": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype/header[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse.header",
|
|
"doc": "<p>The response headers object.</p>\n"
|
|
}
|
|
],
|
|
"_httpVersion": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype/httpVersion[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse.httpVersion",
|
|
"doc": "<p>The HTTP version of the connected-to server. Usually either <code>'1.1'</code> or <code>'1.0'</code>.\n<code>response.httpVersionMajor</code> is the first integer and <code>response.httpVersionMinor</code>\nis the second.</p>\n"
|
|
}
|
|
],
|
|
"_pause": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype/pause[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse.pause",
|
|
"doc": "<p>Pauses the response from emitting events. Useful to throttle back a download.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_resume": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype/resume[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse.resume",
|
|
"doc": "<p>Resumes a paused response.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_setEncoding": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype/setEncoding[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse.setEncoding",
|
|
"doc": "<p>Set the encoding for the response body, either <code>'utf8'</code>, <code>'ascii'</code>, or\n<code>'base64'</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_statusCode": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype/statusCode[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse.statusCode",
|
|
"doc": "<p>The 3-digit HTTP response status code, like <code>200</code>, <code>404</code>, e.t.c.</p>\n"
|
|
}
|
|
],
|
|
"_trailers": [
|
|
{
|
|
"guid": "nodejs_latest:http/ClientResponse/prototype/trailers[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse.trailers",
|
|
"doc": "<p>The response trailers object. Only populated after the <code>end</code> event.</p>\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ClientResponse",
|
|
"doc": "<p>This object is created when making a request with <code>http.request()</code>. It is passed to the <code>'response'</code> event of the request\nobject.\n</p>\n"
|
|
},
|
|
"nodejs_latest:http/Server": {
|
|
"guid": "nodejs_latest:http/Server",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:http/Server/prototype",
|
|
"properties": {
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:http/Server/prototype/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.Server.close",
|
|
"doc": "<p>(related to: net.Server.close)\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_listen": [
|
|
{
|
|
"guid": "nodejs_latest:http/Server/prototype/listen[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.Server.listen",
|
|
"doc": "<p>Begin accepting connections on the specified port and hostname. If the hostname\nis omitted, the server accepts connections directed to any IPv4 address\n(<code>INADDR_ANY</code>). To listen to a Unix socket, supply a filename instead of port\nand hostname.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "port",
|
|
"opt": true,
|
|
"type": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"doc": "The port to listen to. Use <tt>process.env.PORT</tt> when hosted by Cloud9."
|
|
},
|
|
{
|
|
"id": "address",
|
|
"opt": true,
|
|
"suggest": [
|
|
{
|
|
"name": "process.env.IP",
|
|
"replaceText": "process.env.IP"
|
|
}
|
|
],
|
|
"type": [
|
|
"es5:String/prototype"
|
|
],
|
|
"doc": "The address to listen on. Use <tt>process.env.IP</tt> when hosted by Cloud9."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_listen(process.env.PORT, process.env.IP)": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/listen[0c9listenhack]",
|
|
"doc": "Begin accepting connections in a Cloud9 environment."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.Server",
|
|
"doc": "<p>A representation of the server within the <code>http</code> module. To create an HTTP\nserver, you'll need to first call <code>http.createServer()</code>,\nwith something like this:\n</p>\n"
|
|
},
|
|
"nodejs_latest:http/ServerRequest": {
|
|
"guid": "nodejs_latest:http/ServerRequest",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype",
|
|
"properties": {
|
|
"_connection": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/connection[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:net/Socket/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.connection",
|
|
"doc": "<p>The <code>net.Socket</code> object associated with the connection.\n</p>\n"
|
|
}
|
|
],
|
|
"_headers": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/headers[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.headers",
|
|
"doc": "<p>Returns the request header.\n</p>\n"
|
|
}
|
|
],
|
|
"_httpVersion": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/httpVersion[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.httpVersion",
|
|
"doc": "<p>The HTTP protocol version as a string; for example: <code>'1.1'</code>, <code>'1.0'</code>.\n<code>request.httpVersionMajor</code> is the first integer and <code>request.httpVersionMinor</code>\nis the second.</p>\n"
|
|
}
|
|
],
|
|
"_method": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/method[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.method",
|
|
"doc": "<p>The request method as a string, like <code>'GET'</code> or <code>'DELETE'</code>.</p>\n"
|
|
}
|
|
],
|
|
"_pause": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/pause[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.pause",
|
|
"doc": "<p>Pauses request from emitting events. Useful to throttle back an upload.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_resume": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/resume[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.resume",
|
|
"doc": "<p>Resumes a paused request.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_setEncoding": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/setEncoding[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.setEncoding",
|
|
"doc": "<p>Set the encoding for the request body. Defaults to <code>null</code>, which means that the\n<code>'data'</code> event emits a <code>Buffer</code> object.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_trailers": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/trailers[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.trailers",
|
|
"doc": "<p>Contains the HTTP trailers (if present). Only populated after the <code>'end'</code> event.\n</p>\n"
|
|
}
|
|
],
|
|
"_url": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerRequest/prototype/url[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest.url",
|
|
"doc": "<p>Request URL string. This contains only the URL that is present in the actual\nHTTP request. Fo example, if the request is:\n</p>\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerRequest",
|
|
"doc": "<p>This object is created internally by an HTTP server—not by the user—and passed\nas the first argument to a <code>'request'</code> listener.\n</p>\n"
|
|
},
|
|
"nodejs_latest:http/ServerResponse": {
|
|
"guid": "nodejs_latest:http/ServerResponse",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype",
|
|
"properties": {
|
|
"_addTrailers": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/addTrailers[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.addTrailers",
|
|
"doc": "<p>This method adds HTTP trailing headers (a header, but at the end of the message)\nto the response.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "headers",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_end": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/end[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.end",
|
|
"doc": "<p>This method signals to the server that all of the response headers and body has\nbeen sent; that server should consider this message complete. <code>response.end()</code>\n<strong>must</strong> be called on each response.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_getHeader": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/getHeader[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.getHeader",
|
|
"doc": "<p>Reads out a header that's already been queued but not sent to the client. Note\nthat the name is case-insensitive. This can only be called before headers get\nimplicitly flushed.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "name",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_removeHeader": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/removeHeader[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.removeHeader",
|
|
"doc": "<p>Removes a header that's queued for implicit sending.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "name",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setHeader": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/setHeader[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.setHeader",
|
|
"doc": "<p>Sets a single header value for implicit headers. If this header already exists\nin the to-be-sent headers, its value is replaced. Use an array of strings here\nif you need to send multiple headers with the same name.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "name",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "value",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_statusCode": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/statusCode[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.statusCode",
|
|
"doc": "<p>When using implicit headers (not calling <code>response.writeHead()</code> explicitly),\nthis property controls the status code that will be send to the client when the\nheaders get flushed; for example: <code>response.statusCode = 404;</code>.\n</p>\n"
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.write",
|
|
"doc": "<p>If this method is called and <code>response.writeHead()</code> has not been called, it'll\nswitch to implicit header mode and flush the implicit headers.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "chunk",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_writeContinue": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/writeContinue[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.writeContinue",
|
|
"doc": "<p>Sends an <code>HTTP/1.1 100 Continue</code> message to the client, indicating that the\nrequest body should be sent. For more information, see the\n<code>http.Server@checkContinue</code> event.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_writeHead": [
|
|
{
|
|
"guid": "nodejs_latest:http/ServerResponse/prototype/writeHead[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse.writeHead",
|
|
"doc": "<p>Sends a response header to the request.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "statusCode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "reasonPhrase",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "headers",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/http.html#http.ServerResponse",
|
|
"doc": "<p>This object is created internally by a HTTP server—not by the user. It is passed\nas the second parameter to the <code>'request'</code> event. It is a\n<code>Writable Stream</code>.</p>\n"
|
|
},
|
|
"nodejs_latest:https": {
|
|
"guid": "nodejs_latest:https",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:https/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_createServer": [
|
|
{
|
|
"guid": "nodejs_latest:https/createServer[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:https/Server/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.createServer",
|
|
"doc": "<p>Returns a new HTTPS web server object.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "request",
|
|
"type": [
|
|
[
|
|
"nodejs_latest:http/ClientResponse/prototype"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "response",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_get": [
|
|
{
|
|
"guid": "nodejs_latest:https/get[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.get",
|
|
"doc": "<p>Exactly like <code>http.get()</code> but for HTTPS.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_globalAgent": [
|
|
{
|
|
"guid": "nodejs_latest:https/globalAgent[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:https/Agent/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.globalAgent",
|
|
"doc": "<p>A global instance of the <code>https.Agent</code>, which is used as the\ndefault for all HTTPS client requests.</p>\n"
|
|
}
|
|
],
|
|
"_request": [
|
|
{
|
|
"guid": "nodejs_latest:https/request[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.request",
|
|
"doc": "<p>Makes a request to a secure web server.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https",
|
|
"doc": "<p>HTTPS is the HTTP protocol over TLS/SSL. In Node.js, this is implemented as a\nseparate module. To use this module, include <code>require('https')</code> in your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:https/Agent": {
|
|
"guid": "nodejs_latest:https/Agent",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:https/Agent/prototype",
|
|
"properties": {
|
|
"_maxSockets": [
|
|
{
|
|
"guid": "nodejs_latest:https/Agent/prototype/maxSockets[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.Agent.maxSockets",
|
|
"doc": "<p>Determines how many concurrent sockets the agent can have open per host. By\ndefault, this is set to 5.</p>\n"
|
|
}
|
|
],
|
|
"_sockets": [
|
|
{
|
|
"guid": "nodejs_latest:https/Agent/prototype/sockets[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.Agent.sockets",
|
|
"doc": "<p>An object which contains arrays of sockets currently in use by the Agent.\n<strong>Don't modify this!</strong></p>\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.Agent",
|
|
"doc": "<p>An <code>Agent</code> object for HTTPS, similar to <code>http.Agent</code>. For more\ninformation, see <code>https.request()</code>.</p>\n"
|
|
},
|
|
"nodejs_latest:https/Server": {
|
|
"guid": "nodejs_latest:https/Server",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:https/Server/prototype",
|
|
"properties": {
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:https/Server/prototype/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.Server.close",
|
|
"doc": "<p>(related to: net.Server.close)\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_listen": [
|
|
{
|
|
"guid": "nodejs_latest:https/Server/prototype/listen[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.Server.listen",
|
|
"doc": "<p>Begin accepting connections on the specified port and hostname. If the hostname\nis omitted, the server accepts connections directed to any IPv4 address\n(<code>INADDR_ANY</code>). To listen to a Unix socket, supply a filename instead of port\nand hostname.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/https.html#https.Server",
|
|
"doc": "<p>This class is a subclass of <code>tls.Server</code> and emits the same\nevents as <code>http.Server</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:module": {
|
|
"guid": "nodejs_latest:module",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:module/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_children": [
|
|
{
|
|
"guid": "nodejs_latest:module/children[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Array/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/modules.html#module.children",
|
|
"doc": "<p>The module objects required by this one.</p>\n"
|
|
}
|
|
],
|
|
"_filename": [
|
|
{
|
|
"guid": "nodejs_latest:module/filename[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/modules.html#module.filename",
|
|
"doc": "<p>The fully resolved filename to the module.</p>\n"
|
|
}
|
|
],
|
|
"_id": [
|
|
{
|
|
"guid": "nodejs_latest:module/id[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/modules.html#module.id",
|
|
"doc": "<p>The identifier for the module. Typically this is the fully resolved filename.</p>\n"
|
|
}
|
|
],
|
|
"_loaded": [
|
|
{
|
|
"guid": "nodejs_latest:module/loaded[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Boolean/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/modules.html#module.loaded",
|
|
"doc": "<p>Identifies wether or not the module is done loading (<code>true</code>), or is in the\nprocess of loading.</p>\n"
|
|
}
|
|
],
|
|
"_parent": [
|
|
{
|
|
"guid": "nodejs_latest:module/parent[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/modules.html#module.parent",
|
|
"doc": "<p>The module that required this one.</p>\n"
|
|
}
|
|
],
|
|
"_require": [
|
|
{
|
|
"guid": "nodejs_latest:module/require[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/modules.html#module.require",
|
|
"doc": "<p>The <code>module.require</code> method provides a way to load a module as if <code>require()</code>\nwas called from the original module. The object returned is actually the\n<code>exports</code> from the resolved module.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "id",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package"
|
|
},
|
|
"nodejs_latest:net": {
|
|
"guid": "nodejs_latest:net",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:net/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_connect": [
|
|
{
|
|
"guid": "nodejs_latest:net/connect[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.connect",
|
|
"doc": "<p>Construct a new socket object and opens a socket to the given location. When the\nsocket is established, the <code>'connect'</code> event is emitted.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_createConnection": [
|
|
{
|
|
"guid": "nodejs_latest:net/createConnection[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.createConnection",
|
|
"doc": "<p>Construct a new socket object and opens a socket to the given location. When the\nsocket is established, the <code>'connect'</code> event is emitted.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_createServer": [
|
|
{
|
|
"guid": "nodejs_latest:net/createServer[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:http/Server/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.createServer",
|
|
"doc": "<p>Creates a new TCP server.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "connectionListener",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isIP": [
|
|
{
|
|
"guid": "nodejs_latest:net/isIP[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.isIP",
|
|
"doc": "<p>Tests if <code>input</code> is an IP address. Returns <code>0</code> for invalid strings, returns <code>4</code>\nfor IP version 4 addresses, and returns <code>6</code> for IP version 6 addresses.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "input",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isIPv4": [
|
|
{
|
|
"guid": "nodejs_latest:net/isIPv4[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.isIPv4",
|
|
"doc": "<p>Returns <code>true</code> if input is a version 4 IP address.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "input",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isIPv6": [
|
|
{
|
|
"guid": "nodejs_latest:net/isIPv6[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.isIPv6",
|
|
"doc": "<p>Returns <code>true</code> if input is a version 6 IP address.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "input",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net",
|
|
"doc": "<p>The <code>net</code> module provides you with an asynchronous network wrapper. It contains\nmethods for creating both servers and clients (called streams). You can include\nthis module in your code with <code>require('net');</code>\n</p>\n"
|
|
},
|
|
"nodejs_latest:net/Server": {
|
|
"guid": "nodejs_latest:net/Server",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype",
|
|
"properties": {
|
|
"_address": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/address[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Server.address",
|
|
"doc": "<p>Returns the bound address and port of the server as reported by the operating\nsystem. Useful to find which port was assigned when giving getting an\nOS-assigned address.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Server.close",
|
|
"doc": "<p>Stops the server from accepting new connections. This function is asynchronous,\nand the server is finally closed when it emits a `'close' event.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_connections": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/connections[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Server.connections",
|
|
"doc": "<p>The number of concurrent connections on the server.</p>\n"
|
|
}
|
|
],
|
|
"_listen": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/listen[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Server.listen",
|
|
"doc": "<p>Begin accepting connections on the specified <code>port</code> and <code>host</code>. If the <code>host</code>\nis omitted, the server accepts connections directed to any IPv4 address\n(<code>INADDR_ANY</code>). A port value of zero will assign a random port.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "port",
|
|
"opt": true,
|
|
"type": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"doc": "The port to listen to. Use <tt>process.env.IP</tt> when hosted by Cloud9."
|
|
},
|
|
{
|
|
"id": "address",
|
|
"opt": true,
|
|
"suggest": [
|
|
{
|
|
"name": "process.env.IP",
|
|
"replaceText": "process.env.IP"
|
|
}
|
|
],
|
|
"type": [
|
|
"es5:String/prototype"
|
|
],
|
|
"doc": "The address to listen on. Use <tt>process.env.IP</tt> when hosted by Cloud9."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_maxConnections": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/maxConnections[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Server.maxConnections",
|
|
"doc": "<p>Set this property to reject connections when the server's connection count gets\nhigh.</p>\n"
|
|
}
|
|
],
|
|
"_pause": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/pause[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Server.pause",
|
|
"doc": "<p>Stop accepting connections for the given number of milliseconds. This could be\nuseful for throttling new connections against DoS attacks or other\noversubscriptions.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "msecs",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_listen(process.env.PORT, process.env.IP)": [
|
|
{
|
|
"guid": "nodejs_latest:net/Server/prototype/listen[0c9listenhack]",
|
|
"doc": "Begin accepting connections in a Cloud9 environment."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Server",
|
|
"doc": "<p>This class is used to create a TCP or UNIX server. A server is a <code>net.Socket</code>\nthat can listen for new incoming connections.\n</p>\n"
|
|
},
|
|
"nodejs_latest:net/Socket": {
|
|
"guid": "nodejs_latest:net/Socket",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype",
|
|
"properties": {
|
|
"_address": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/address[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.address",
|
|
"doc": "<p>Returns the bound address and port of the socket as reported by the operating\nsystem. Returns an object with two properties that looks like this:\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_bufferSize": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/bufferSize[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.bufferSize",
|
|
"doc": "<p><code>net.Socket</code> has the property that <code>socket.write()</code> always works. This is to\nhelp users get up and running quickly. The computer can't always keep up with\nthe amount of data that is written to a socket—the network connection simply\nmight be too slow. Node.js will internally queue up the data written to a socket\nand send it out over the wire whenever it's possible. (Internally, it's polling\non the socket's file descriptor for being writable.)\n</p>\n"
|
|
}
|
|
],
|
|
"_bytesRead": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/bytesRead[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.bytesRead",
|
|
"doc": "<p>The amount of received bytes.</p>\n"
|
|
}
|
|
],
|
|
"_bytesWritten": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/bytesWritten[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.bytesWritten",
|
|
"doc": "<p>The amount of bytes sent.</p>\n"
|
|
}
|
|
],
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.close",
|
|
"doc": "<p>Emitted once the socket is fully closed.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "had_error",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_connect": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/connect[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.connect",
|
|
"doc": "<p>Opens the connection for a given socket. If <code>port</code> and <code>host</code> are given, then\nthe socket is opened as a TCP socket. If a <code>path</code> is given, the socket is opened\nas a Unix socket to that path.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "port",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "host",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "connectionListener",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_destroy": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/destroy[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.destroy",
|
|
"doc": "<p>Ensures that no more I/O activity happens on this socket. Only necessary in case\nof errors (like with a parse error).</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_drain": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/drain[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.drain",
|
|
"doc": "<p>(related to: net.Socket.write)\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_end": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/end[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.end",
|
|
"doc": "<p>Half-closes the socket, <em>i.e.</em>, it sends a FIN packet. It is possible the server\ncan still send some data.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_error": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/error[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.error",
|
|
"doc": "<p>Emitted when an error occurs. The <code>'close'</code> event is called directly following\nthis event.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "exception",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_constructor": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/constructor[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.new",
|
|
"doc": "<p>Constructs a new socket object.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_pause": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/pause[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.pause",
|
|
"doc": "<p>Pauses the reading of data. That is, <code>'data'</code> events are no longer emitted.\nUseful to throttle back an upload.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_remoteAddress": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/remoteAddress[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.remoteAddress",
|
|
"doc": "<p>The string representation of the remote IP address. For example,\n<code>'74.125.127.100'</code> or <code>'2001:4860:a005::68'</code>.</p>\n"
|
|
}
|
|
],
|
|
"_remotePort": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/remotePort[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.remotePort",
|
|
"doc": "<p>The numeric representation of the remote port. For example, <code>80</code> or <code>21</code>.</p>\n"
|
|
}
|
|
],
|
|
"_resume": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/resume[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.resume",
|
|
"doc": "<p>Resumes reading after a call to <code>pause()</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_setEncoding": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/setEncoding[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.setEncoding",
|
|
"doc": "<p>Sets the encoding for data that is received.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setKeepAlive": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/setKeepAlive[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.setKeepAlive",
|
|
"doc": "<p>Enable and disable keep-alive functionality, and optionally set the initial\ndelay before the first keepalive probe is sent on an idle socket.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "enable",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "initialDelay",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setNoDelay": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/setNoDelay[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.setNoDelay",
|
|
"doc": "<p>Disables <a target=\"c9doc\" href=\"http://en.wikipedia.org/wiki/Nagle's_algorithm\">the Nagle algorithm</a>.\nBy default TCP connections use the Nagle algorithm, they buffer data before\nsending it off.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "noDelay",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setSecure": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/setSecure[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.setSecure",
|
|
"doc": "<p>(deprecated: 0.3.0)\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_setTimeout": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/setTimeout[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.setTimeout",
|
|
"doc": "<p>Sets the socket to timeout after <code>timeout</code> milliseconds of inactivity on the\nsocket. By default <code>net.Socket</code> don't have a timeout.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "timeout",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_timeout": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/timeout[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.timeout",
|
|
"doc": "<p>(related to: net.Socket.setTimeout)\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:net/Socket/prototype/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket.write",
|
|
"doc": "<p>Sends data on the socket. The second parameter specifies the encoding in the\ncase of a string—it defaults to UTF8 encoding.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "data",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/net.html#net.Socket",
|
|
"doc": "<p>This object is an abstraction of a TCP or UNIX socket. <code>net.Socket</code> instances\nimplement a duplex Stream interface. They can be created by the user and used\nas a client (with <code>connect()</code>) or they can be created by Node.js and passed to\nthe user through the <code>'connection'</code> event of a server.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
},
|
|
"nodejs_latest:os": {
|
|
"guid": "nodejs_latest:os",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:os/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_arch": [
|
|
{
|
|
"guid": "nodejs_latest:os/arch[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.arch",
|
|
"doc": "<p>Returns the operating system CPU architecture.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_cpus": [
|
|
{
|
|
"guid": "nodejs_latest:os/cpus[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.cpus",
|
|
"doc": "<p>Returns an array of objects containing information about each CPU/core\ninstalled: the model, speed (in MHz), and times (an object containing the number\nof CPU ticks spent in: user, nice, sys, idle, and irq).\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_freemem": [
|
|
{
|
|
"guid": "nodejs_latest:os/freemem[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.freemem",
|
|
"doc": "<p>Returns the amount of free system memory in bytes.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_hostname": [
|
|
{
|
|
"guid": "nodejs_latest:os/hostname[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.hostname",
|
|
"doc": "<p>Returns the hostname of the operating system.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_loadavg": [
|
|
{
|
|
"guid": "nodejs_latest:os/loadavg[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.loadavg",
|
|
"doc": "<p>Returns an array containing the 1, 5, and 15 minute load averages.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_networkInterfaces": [
|
|
{
|
|
"guid": "nodejs_latest:os/networkInterfaces[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.networkInterfaces",
|
|
"doc": "<p>Returns a list of network interfaces.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_platform": [
|
|
{
|
|
"guid": "nodejs_latest:os/platform[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.platform",
|
|
"doc": "<p>Returns the operating system platform.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_release": [
|
|
{
|
|
"guid": "nodejs_latest:os/release[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.release",
|
|
"doc": "<p>Returns the operating system release.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_totalmem": [
|
|
{
|
|
"guid": "nodejs_latest:os/totalmem[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.totalmem",
|
|
"doc": "<p>Returns the total amount of system memory in bytes.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_type": [
|
|
{
|
|
"guid": "nodejs_latest:os/type[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.type",
|
|
"doc": "<p>Returns the operating system name.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_uptime": [
|
|
{
|
|
"guid": "nodejs_latest:os/uptime[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os.uptime",
|
|
"doc": "<p>Returns the system uptime in seconds.</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/os.html#os",
|
|
"doc": "<p>This provides a way to retrieve various information about the underlaying\noperating system. Add <code>require('os')</code> in your code to access this module.\n</p>\n"
|
|
},
|
|
"nodejs_latest:path": {
|
|
"guid": "nodejs_latest:path",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:path/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_basename": [
|
|
{
|
|
"guid": "nodejs_latest:path/basename[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.basename",
|
|
"doc": "<p>Return the last portion of a path. Similar to the Unix\n<code>basename</code> command.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "p",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "ext",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_dirname": [
|
|
{
|
|
"guid": "nodejs_latest:path/dirname[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.dirname",
|
|
"doc": "<p>Return the directory name of a path. Similar to the Unix\n<code>dirname</code> command.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "p",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_exists": [
|
|
{
|
|
"guid": "nodejs_latest:path/exists[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.exists",
|
|
"doc": "<p>Tests whether or not the given path exists by checking with the file system.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "p",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": [
|
|
{
|
|
"id": "exists",
|
|
"type": [
|
|
"es5:Boolean/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_existsSync": [
|
|
{
|
|
"guid": "nodejs_latest:path/existsSync[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.existsSync",
|
|
"doc": "<p>The synchronous version of <code>path.exists</code>. Tests whether or not the given path\nexists by checking with the file system\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "p",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_extname": [
|
|
{
|
|
"guid": "nodejs_latest:path/extname[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.extname",
|
|
"doc": "<p>Return the extension of the path, from the last '.' to end of string in the last\nportion of the path. If there is no '.' in the last portion of the path or the\nfirst character of it is '.', then the method returns an empty string.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "p",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_join": [
|
|
{
|
|
"guid": "nodejs_latest:path/join[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.join",
|
|
"doc": "<p>Join all arguments together and normalize the resulting path. Non-string\narguments are ignored.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "path1",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "path2",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "paths",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_normalize": [
|
|
{
|
|
"guid": "nodejs_latest:path/normalize[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.normalize",
|
|
"doc": "<p>Normalize a string path, taking care of <code>'..'</code> and <code>'.'</code> parts.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "p",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_relative": [
|
|
{
|
|
"guid": "nodejs_latest:path/relative[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.relative",
|
|
"doc": "<p>Solve the relative path from <code>from</code> to <code>to</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "from",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "to",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolve": [
|
|
{
|
|
"guid": "nodejs_latest:path/resolve[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path.resolve",
|
|
"doc": "<p>Resolves <code>to</code> to an absolute path.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "from",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "to",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/path.html#path",
|
|
"doc": "<p>This module contains utilities for handling and transforming file paths. Add\n<code>require('path')</code> to your code to use this module.\n</p>\n"
|
|
},
|
|
"nodejs_latest:process": {
|
|
"guid": "nodejs_latest:process",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:process/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_arch": [
|
|
{
|
|
"guid": "nodejs_latest:process/arch[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.arch",
|
|
"doc": "<p>Identifies which processor architecture you're running on: <code>'arm'</code>, <code>'ia32'</code>, or\n<code>'x64'</code>.\n</p>\n"
|
|
}
|
|
],
|
|
"_argv": [
|
|
{
|
|
"guid": "nodejs_latest:process/argv[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Array/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.argv",
|
|
"doc": "<p>An array containing the command line arguments. The first element is 'node',\nand the second element is the name of the Javascript file. The next elements\nwill be any additional command line arguments.\n</p>\n"
|
|
}
|
|
],
|
|
"_chdir": [
|
|
{
|
|
"guid": "nodejs_latest:process/chdir[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.chdir",
|
|
"doc": "<p>Changes the current working directory of the process or throws an exception if\nthat fails.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "directory",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_cwd": [
|
|
{
|
|
"guid": "nodejs_latest:process/cwd[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.cwd",
|
|
"doc": "<p>Returns the current working directory of the process. For example:\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_env": [
|
|
{
|
|
"guid": "nodejs_latest:process/env[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.env",
|
|
"doc": "<p>An object containing the user environment. For more information, see\n<a target=\"c9doc\" href=\"http://kernel.org/doc/man-pages/online/pages/man7/environ.7.html\">environ(7)</a>.</p>\n"
|
|
}
|
|
],
|
|
"_execPath": [
|
|
{
|
|
"guid": "nodejs_latest:process/execPath[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.execPath",
|
|
"doc": "<p>This is the absolute pathname of the executable that started the process.\n</p>\n"
|
|
}
|
|
],
|
|
"_exit": [
|
|
{
|
|
"guid": "nodejs_latest:process/exit[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.exit",
|
|
"doc": "<p>Ends the process with the specified <code>code</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "code",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_getgid": [
|
|
{
|
|
"guid": "nodejs_latest:process/getgid[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.getgid",
|
|
"doc": "<p>Gets the group identity of the process. This is the numerical group id, not the\ngroup name. For more information, see\n<a target=\"c9doc\" href=\"http://kernel.org/doc/man-pages/online/pages/man2/getgid.2.html\">getgid(2)</a>.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_getuid": [
|
|
{
|
|
"guid": "nodejs_latest:process/getuid[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.getuid",
|
|
"doc": "<p>Gets the user identity of the process. Note that this is the numerical userid,\nnot the username. For more information, see\n<a target=\"c9doc\" href=\"http://kernel.org/doc/man-pages/online/pages/man2/getuid.2.html\">getuid(2)</a>.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_installPrefix": [
|
|
{
|
|
"guid": "nodejs_latest:process/installPrefix[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.installPrefix",
|
|
"doc": "<p>A compiled-in property that exposes the <code>NODE_PREFIX</code>.\n</p>\n"
|
|
}
|
|
],
|
|
"_kill": [
|
|
{
|
|
"guid": "nodejs_latest:process/kill[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.kill",
|
|
"doc": "<p>Send a signal to a process. The <code>signal</code> names are strings like 'SIGINT' or\n'SIGUSR1'. For more information, see\n<a target=\"c9doc\" href=\"http://www.kernel.org/doc/man-pages/online/pages/man2/kill.2.html\">kill(2)</a>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "pid",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "signal",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_memoryUsage": [
|
|
{
|
|
"guid": "nodejs_latest:process/memoryUsage[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.memoryUsage",
|
|
"doc": "<p>Returns an object describing the memory usage of the Node.js process measured in\nbytes.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_nextTick": [
|
|
{
|
|
"guid": "nodejs_latest:process/nextTick[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.nextTick",
|
|
"doc": "<p>On the next loop around the event loop call this callback. This is <strong>not</strong> a\nsimple alias to <code>setTimeout(fn, 0)</code>; it's much more efficient.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_pid": [
|
|
{
|
|
"guid": "nodejs_latest:process/pid[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.pid",
|
|
"doc": "<p>Returns the PID of the process.\n</p>\n"
|
|
}
|
|
],
|
|
"_platform": [
|
|
{
|
|
"guid": "nodejs_latest:process/platform[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.platform",
|
|
"doc": "<p>Identifies the platform you're running on, like <code>'linux2'</code>, <code>'darwin'</code>, etc.\n</p>\n"
|
|
}
|
|
],
|
|
"_setgid": [
|
|
{
|
|
"guid": "nodejs_latest:process/setgid[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.setgid",
|
|
"doc": "<p>Sets the group identity of the process. This accepts either a numerical ID or a\ngroupname string. If a groupname is specified, this method blocks while\nresolving it to a numerical ID. For more information, see\n<a target=\"c9doc\" href=\"http://kernel.org/doc/man-pages/online/pages/man2/setgid.2.html\">setgid(2)</a>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "id",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setuid": [
|
|
{
|
|
"guid": "nodejs_latest:process/setuid[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.setuid",
|
|
"doc": "<p>Sets the user identity of the process. This accepts either a numerical ID or a\nusername string. If a username is specified, this method blocks while resolving\nit to a numerical ID. For more information, see\n<a target=\"c9doc\" href=\"http://kernel.org/doc/man-pages/online/pages/man2/setuid.2.html\">setuid(2)</a>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "id",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_stderr": [
|
|
{
|
|
"guid": "nodejs_latest:process/stderr[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:fs/WriteStream/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.stderr",
|
|
"doc": "<p>A writable stream to stderr.\n</p>\n"
|
|
}
|
|
],
|
|
"_stdin": [
|
|
{
|
|
"guid": "nodejs_latest:process/stdin[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:fs/ReadStream/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.stdin",
|
|
"doc": "<p>A <code>Readable Stream</code> for stdin. The stdin stream is paused by default, so one\nmust call <code>process.stdin.resume()</code> to read from it.\n</p>\n"
|
|
}
|
|
],
|
|
"_stdout": [
|
|
{
|
|
"guid": "nodejs_latest:process/stdout[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:fs/WriteStream/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.stdout",
|
|
"doc": "<p>A writable stream to <code>stdout</code>.\n</p>\n"
|
|
}
|
|
],
|
|
"_title": [
|
|
{
|
|
"guid": "nodejs_latest:process/title[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.title",
|
|
"doc": "<p>A getter and setter to set what is displayed in <code>ps</code>.</p>\n"
|
|
}
|
|
],
|
|
"_umask": [
|
|
{
|
|
"guid": "nodejs_latest:process/umask[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.umask",
|
|
"doc": "<p>Sets or reads the process's file mode creation mask. Child processes inherit the\nmask from the parent process. Returns the old mask if <code>mask</code> argument is given,\notherwise returns the current mask.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "mask",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_uptime": [
|
|
{
|
|
"guid": "nodejs_latest:process/uptime[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Number/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.uptime",
|
|
"doc": "<p>Returns the number of seconds Node.js has been running.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_version": [
|
|
{
|
|
"guid": "nodejs_latest:process/version[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.version",
|
|
"doc": "<p>A compiled-in property that exposes the <code>NODE_VERSION</code>.\n</p>\n"
|
|
}
|
|
],
|
|
"_versions": [
|
|
{
|
|
"guid": "nodejs_latest:process/versions[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process.versions",
|
|
"doc": "<p>A property exposing version strings of Node.js and its dependencies.\n</p>\n"
|
|
}
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/process.html#process",
|
|
"doc": "<p>The <code>process</code> object is a global object, and can be accessed from anywhere. It\nis an instance of <code>EventEmitter</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:querystring": {
|
|
"guid": "nodejs_latest:querystring",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:querystring/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_escape": [
|
|
{
|
|
"guid": "nodejs_latest:querystring/escape[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/querystring.html#querystring.escape",
|
|
"doc": "<p>The escape function used by <code>querystring.stringify()</code>, provided so that it can\nbe overridden, if necessary.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_parse": [
|
|
{
|
|
"guid": "nodejs_latest:querystring/parse[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/querystring.html#querystring.parse",
|
|
"doc": "<p>Deserialize a query string to an object and returns it. You can choose to\noverride the default separator and assignment characters.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "str",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "sep",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "eq",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_stringify": [
|
|
{
|
|
"guid": "nodejs_latest:querystring/stringify[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/querystring.html#querystring.stringify",
|
|
"doc": "<p>Serialize an object to a query string and returns it. You can choose to override\nthe default separator and assignment characters.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "obj",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "sep",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "eq",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_unescape": [
|
|
{
|
|
"guid": "nodejs_latest:querystring/unescape[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/querystring.html#querystring.unescape",
|
|
"doc": "<p>The <code>unescape()</code> function, used by <code>querystring.parse()</code>, is provided so that it\ncan be overridden if necessary.</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/querystring.html#querystring",
|
|
"doc": "<p>This module provides utilities for dealing with query strings in URLs. To\ninclude this module, add <code>require('querystring')</code> to your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:readline": {
|
|
"guid": "nodejs_latest:readline",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:readline/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_createInterface": [
|
|
{
|
|
"guid": "nodejs_latest:readline/createInterface[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:readline/interface/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.createInterface",
|
|
"doc": "<p>Takes two streams and creates a readline interface.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "input",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "output",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "completer",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline",
|
|
"doc": "<p>Readline allows you to read of a stream (such as STDIN) on a line-by-line basis.\nTo use this module, add <code>require('readline')</code> to your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:readline/interface": {
|
|
"guid": "nodejs_latest:readline/interface",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface.close",
|
|
"doc": "<p>Closes the <code>tty</code>. Without this call, your program will run indefinitely.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "line",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_pause": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/pause[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface.pause",
|
|
"doc": "<p>Pauses the <code>tty</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_prompt": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/prompt[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface.prompt",
|
|
"doc": "<p>Readies the readline for input from the user, putting the current <code>setPrompt</code>\noptions on a new line, giving the user a new spot to write.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_question": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/question[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface.question",
|
|
"doc": "<p>Prepends the prompt with <code>query</code> and invokes <code>callback</code> with the user's respons\nafter it has been entered.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "query",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resume": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/resume[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface.resume",
|
|
"doc": "<p>Resumes <code>tty</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_setPrompt": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/setPrompt[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface.setPrompt",
|
|
"doc": "<p>Sets the prompt character. For example, when you run <code>node</code> on the command line,\nyou'll see <code>> </code>, which is Node's prompt.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "prompt",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "length",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:readline/interface/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface.write",
|
|
"doc": "<p>Writes to the <code>tty</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/readline.html#readline.interface",
|
|
"doc": "<p>The class that represents a readline interface with a stdin and stdout stream.</p>\n"
|
|
},
|
|
"nodejs_latest:repl": {
|
|
"guid": "nodejs_latest:repl",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:repl/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_start": [
|
|
{
|
|
"guid": "nodejs_latest:repl/start[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/repl.html#repl.start",
|
|
"doc": "<p>Starts a REPL with <code>prompt</code> as the prompt and <code>stream</code> for all I/O.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "prompt",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "stream",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "eval",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "useGlobal",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "ignoreUndefined",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/repl.html#repl",
|
|
"doc": "<p>A Read-Eval-Print-Loop (REPL) is available both as a standalone program and\neasily includable in other programs. REPL provides a way to interactively run\nJavascript and see the results. It can be used for debugging, testing, or just\ntrying things out.\n</p>\n"
|
|
},
|
|
"nodejs_latest:socket": {
|
|
"guid": "nodejs_latest:socket",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:socket/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/dgram.html#socket",
|
|
"doc": "<p>The dgram Socket class encapsulates the datagram functionality. It should be\ncreated via <code>dgram.createSocket(type, [callback])</code>.</p>\n"
|
|
},
|
|
"nodejs_latest:streams": {
|
|
"guid": "nodejs_latest:streams",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:streams/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams",
|
|
"doc": "<p>A stream is an abstract interface implemented by various objects in Node.js. For\nexample, a request to an HTTP server is a stream, as is stdout. Streams can be\nreadable, writable, or both. All streams are instances of <code>EventEmitter</code>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:streams/ReadableStream": {
|
|
"guid": "nodejs_latest:streams/ReadableStream",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:streams/ReadableStream/prototype",
|
|
"properties": {
|
|
"_destroy": [
|
|
{
|
|
"guid": "nodejs_latest:streams/ReadableStream/prototype/destroy[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.ReadableStream.destroy",
|
|
"doc": "<p>Closes the underlying file descriptor. The stream will not emit any more events.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_pause": [
|
|
{
|
|
"guid": "nodejs_latest:streams/ReadableStream/prototype/pause[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.ReadableStream.pause",
|
|
"doc": "<p>Pause any incoming <code>'data'</code> events.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_pipe": [
|
|
{
|
|
"guid": "nodejs_latest:streams/ReadableStream/prototype/pipe[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:streams/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.ReadableStream.pipe",
|
|
"doc": "<p>This is the <code>Stream.prototype()</code> method available on all <code>Stream</code> objects. It\nconnects this read stream to a <code>destination</code>. Incoming data on this stream is\nthen written to <code>destination</code>. The destination and source streams are kept in\nsync by Node.js pausing and resuming as necessary.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "destination",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resume": [
|
|
{
|
|
"guid": "nodejs_latest:streams/ReadableStream/prototype/resume[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.ReadableStream.resume",
|
|
"doc": "<p>Resumes the incoming <code>'data'</code> events after a <code>pause()</code>.</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.ReadableStream",
|
|
"doc": null
|
|
},
|
|
"nodejs_latest:streams/WritableStream": {
|
|
"guid": "nodejs_latest:streams/WritableStream",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:streams/WritableStream/prototype",
|
|
"properties": {
|
|
"_destroy": [
|
|
{
|
|
"guid": "nodejs_latest:streams/WritableStream/prototype/destroy[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.WritableStream.destroy",
|
|
"doc": "<p>Closes the underlying file descriptor. The stream doesn't emit any more events.\nAny queued write data is not sent.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_destroySoon": [
|
|
{
|
|
"guid": "nodejs_latest:streams/WritableStream/prototype/destroySoon[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.WritableStream.destroySoon",
|
|
"doc": "<p>After the write queue is drained, this closes the file descriptor.\n<code>destroySoon()</code> can still destroy straight away, as long as there is no data\nleft in the queue for writes.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_end": [
|
|
{
|
|
"guid": "nodejs_latest:streams/WritableStream/prototype/end[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.WritableStream.end",
|
|
"doc": "<p>Terminates the stream with EOF or FIN. This call send queued write data before\nclosing the stream.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_writable": [
|
|
{
|
|
"guid": "nodejs_latest:streams/WritableStream/prototype/writable[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Boolean/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.WritableStream.writable",
|
|
"doc": "<p>A boolean that is <code>true</code> by default, but turns <code>false</code> after an <code>error</code> event\noccurs, the stream comes to an <code>'end'</code>, or if <code>destroy()</code> was called.</p>\n"
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:streams/WritableStream/prototype/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.WritableStream.write",
|
|
"doc": "<p>Writes <code>string</code> with the given <code>encoding</code> to the stream, or write <code>buffer</code>.\nReturns <code>true</code> if the string has been flushed to the kernel buffer. Returns\n<code>false</code> to indicate that the kernel buffer is full, and the data will be sent\nout in the future. The <code>drain</code> event indicates when the kernel buffer is empty\nagain.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/stream.html#streams.WritableStream",
|
|
"doc": null
|
|
},
|
|
"nodejs_latest:string_decoder": {
|
|
"guid": "nodejs_latest:string_decoder",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:string_decoder/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/string_decoder.html#string_decoder",
|
|
"doc": "<p>StringDecoder decodes a buffer to a string. It is a simple interface\n to <code>buffer.toString()</code> but provides additional support for utf8.\n</p>\n"
|
|
},
|
|
"nodejs_latest:StringDecoder": {
|
|
"guid": "nodejs_latest:StringDecoder",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:StringDecoder/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
],
|
|
"_constructor": [
|
|
{
|
|
"guid": "nodejs_latest:StringDecoder/constructor[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/string_decoder.html#StringDecoder.new",
|
|
"doc": "<p>Creates a new <code>StringDecoder</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_write": [
|
|
{
|
|
"guid": "nodejs_latest:StringDecoder/write[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/string_decoder.html#StringDecoder.write",
|
|
"doc": "<p>Returns a decoded string.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buffer",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"fargs": [
|
|
{
|
|
"id": "encoding",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"nodejs_latest:timer": {
|
|
"guid": "nodejs_latest:timer",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:timer/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_clearInterval": [
|
|
{
|
|
"guid": "nodejs_latest:timer/clearInterval[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/timers.html#timer.clearInterval",
|
|
"doc": "<p>Stops a interval from triggering.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "intervalId",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_clearTimeout": [
|
|
{
|
|
"guid": "nodejs_latest:timer/clearTimeout[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/timers.html#timer.clearTimeout",
|
|
"doc": "<p>Prevents a timeout from triggering.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "timeoutId",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setInterval": [
|
|
{
|
|
"guid": "nodejs_latest:timer/setInterval[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/timers.html#timer.setInterval",
|
|
"doc": "<p>This schedules the repeated execution of a callback function after a defined\ndelay. It returns an <code>intervalId</code> for possible use with <code>clearInterval()</code>.\nOptionally, you can also pass arguments to the callback.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": []
|
|
},
|
|
{
|
|
"id": "delay",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "arg",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/timers.html#timer",
|
|
"doc": "<p>The timer functions are useful for scheduling functions to run after a defined\namount of time. All of the objects in this class are global; the method calls\ndon't need to be prepended with an object name.\n</p>\n"
|
|
},
|
|
"nodejs_latest:tls": {
|
|
"guid": "nodejs_latest:tls",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:tls/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_connect": [
|
|
{
|
|
"guid": "nodejs_latest:tls/connect[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:tls/CleartextStream/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.connect",
|
|
"doc": "<p>Creates a new client connection to the given <code>port</code> and <code>host</code>. This function\nreturns a <code>tls.CleartextStream</code> object.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "port",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "host",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "secureConnectListener",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createSecurePair": [
|
|
{
|
|
"guid": "nodejs_latest:tls/createSecurePair[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:tls/SecurePair/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.createSecurePair",
|
|
"doc": "<p>Creates a new secure <code>pair</code> object with two streams, one of which reads/writes\nencrypted data, and one reads/writes cleartext data. This function returns a\nSecurePair object with <code>tls.CleartextStream</code> and\n<code>encrypted</code> stream properties.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "credentials",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "isServer",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "requestCert",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "rejectUnauthorized",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createServer": [
|
|
{
|
|
"guid": "nodejs_latest:tls/createServer[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.createServer",
|
|
"doc": "<p>Creates a new <code>tls.Server</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "secureConnectionListener",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls",
|
|
"doc": "<p>The <code>tls</code> module uses OpenSSL to provide both the Transport Layer Security and\nthe Secure Socket Layer; in other words, it provides encrypted stream\ncommunications. To access this module, add <code>require('tls')</code> in your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:tls/CleartextStream": {
|
|
"guid": "nodejs_latest:tls/CleartextStream",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:tls/CleartextStream/prototype",
|
|
"properties": {
|
|
"_authorizationError": [
|
|
{
|
|
"guid": "nodejs_latest:tls/CleartextStream/prototype/authorizationError[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.CleartextStream.authorizationError",
|
|
"doc": "<p>The reason why the peer's certificate has not been verified. This property\nbecomes available only when <code>cleartextStream.authorized === false</code>.</p>\n"
|
|
}
|
|
],
|
|
"_authorized": [
|
|
{
|
|
"guid": "nodejs_latest:tls/CleartextStream/prototype/authorized[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Boolean/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.CleartextStream.authorized",
|
|
"doc": "<p>If <code>true</code>, the peer certificate was signed by one of the specified CAs;\notherwise, <code>false</code>.</p>\n"
|
|
}
|
|
],
|
|
"_connections": [
|
|
{
|
|
"guid": "nodejs_latest:tls/CleartextStream/prototype/connections[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.CleartextStream.connections",
|
|
"doc": "<p>Returns the bound address and port of the underlying socket as reported by the\noperating system. The object has two properties, <em>e.g.</em>\n<code>{"address":"192.168.57.1", "port":62053}</code></p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_getPeerCertificate": [
|
|
{
|
|
"guid": "nodejs_latest:tls/CleartextStream/prototype/getPeerCertificate[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.CleartextStream.getPeerCertificate",
|
|
"doc": "<p>Returns an object representing the peer's certificate. The returned object has\nsome properties corresponding to the field of the certificate.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_remoteAddress": [
|
|
{
|
|
"guid": "nodejs_latest:tls/CleartextStream/prototype/remoteAddress[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.CleartextStream.remoteAddress",
|
|
"doc": "<p>The string representation of the remote IP address. For example,\n<code>'74.125.127.100'</code> or <code>'2001:4860:a005::68'</code>.</p>\n"
|
|
}
|
|
],
|
|
"_remotePort": [
|
|
{
|
|
"guid": "nodejs_latest:tls/CleartextStream/prototype/remotePort[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.CleartextStream.remotePort",
|
|
"doc": "<p>The numeric representation of the remote port. For example, <code>443</code>.</p>\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.CleartextStream",
|
|
"doc": "<p>This is a stream on top of the encrypted stream that makes it possible to\nread/write an encrypted data as a cleartext data.\n</p>\n"
|
|
},
|
|
"nodejs_latest:tls/SecurePair": {
|
|
"guid": "nodejs_latest:tls/SecurePair",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:tls/SecurePair/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.SecurePair",
|
|
"doc": "<p>Returned by <code>tls.createSecurePair()</code>.</p>\n"
|
|
},
|
|
"nodejs_latest:tls/Server": {
|
|
"guid": "nodejs_latest:tls/Server",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype",
|
|
"properties": {
|
|
"_addContext": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype/addContext[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server.addContext",
|
|
"doc": "<p>Add secure context that will be used if client request's SNI hostname is\nmatching passed <code>hostname</code> (wildcards can be used). <code>credentials</code> can contain\n<code>key</code>, <code>cert</code>, and <code>ca</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "hostname",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "credentials",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_address": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype/address[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server.address",
|
|
"doc": "<p>Returns the bound address and port of the server as reported by the operating\nsystem.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_close": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype/close[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server.close",
|
|
"doc": "<p>Stops the server from accepting new connections. This function is asynchronous,\nand the server is finally closed when it emits a <code>'close'</code> event.</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_connections": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype/connections[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server.connections",
|
|
"doc": "<p>The number of concurrent connections on the server.</p>\n"
|
|
}
|
|
],
|
|
"_listen": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype/listen[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server.listen",
|
|
"doc": "<p>Begin accepting connections on the specified <code>port</code> and <code>host</code>. If the <code>host</code>\nis omitted, the server will accept connections directed to any IPv4 address\n(<code>INADDR_ANY</code>).\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "port",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "host",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_maxConnections": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype/maxConnections[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Number/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server.maxConnections",
|
|
"doc": "<p>Set this property to reject connections when the server's connection count gets\nhigh.</p>\n"
|
|
}
|
|
],
|
|
"_pause": [
|
|
{
|
|
"guid": "nodejs_latest:tls/Server/prototype/pause[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server.pause",
|
|
"doc": "<p>Stop accepting connections for the given number of milliseconds. This could be\nuseful for throttling new connections against DoS attacks or other\noversubscriptions.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "msecs",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tls.html#tls.Server",
|
|
"doc": "<p>This class is a subclass of <code>net.Server</code> and has the same methods\nas it. However, instead of accepting just raw TCP connections, it also accepts\nencrypted connections using TLS or SSL.</p>\n"
|
|
},
|
|
"nodejs_latest:tty": {
|
|
"guid": "nodejs_latest:tty",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:tty/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_getWindowSize": [
|
|
{
|
|
"guid": "nodejs_latest:tty/getWindowSize[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Array/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tty.html#tty.getWindowSize",
|
|
"doc": "<p>This function no longer exists. Use <code>process.stdout.getWindowSize()</code> instead.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isatty": [
|
|
{
|
|
"guid": "nodejs_latest:tty/isatty[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tty.html#tty.isatty",
|
|
"doc": "<p>Returns <code>true</code> or <code>false</code> depending on if the file descriptor is associated with\na terminal.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setRawMode": [
|
|
{
|
|
"guid": "nodejs_latest:tty/setRawMode[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tty.html#tty.setRawMode",
|
|
"doc": "<p>This sets the properties of the current process's stdin file descriptor to act\neither as a raw device (<code>true</code>) or default (<code>false</code>).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "mode",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_setWindowSize": [
|
|
{
|
|
"guid": "nodejs_latest:tty/setWindowSize[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tty.html#tty.setWindowSize",
|
|
"doc": "<p>This function no longer exists.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "fd",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "row",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "col",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/tty.html#tty",
|
|
"doc": "<p>This module controls printing to the terminal output. Use <code>require('tty')</code> to\naccess this module.\n</p>\n"
|
|
},
|
|
"nodejs_latest:url": {
|
|
"guid": "nodejs_latest:url",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:url/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_format": [
|
|
{
|
|
"guid": "nodejs_latest:url/format[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/url.html#url.format",
|
|
"doc": "<p>Takes a parsed URL object and returns a formatted URL string that contains these\nproperties:\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "urlObj",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_parse": [
|
|
{
|
|
"guid": "nodejs_latest:url/parse[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/url.html#url.parse",
|
|
"doc": "<p>Takes a URL string, and return it as an object.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "urlStr",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "parseQueryString",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "slashesDenoteHost",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_resolve": [
|
|
{
|
|
"guid": "nodejs_latest:url/resolve[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/url.html#url.resolve",
|
|
"doc": "<p>Takes a base URL, and an href URL, and resolves them as a browser would for an\nanchor tag.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "from",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "to",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/url.html#url",
|
|
"doc": "<p>This module has utilities for URL resolution and parsing. To use it, add\n<code>require('url')</code> to your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:util": {
|
|
"guid": "nodejs_latest:util",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:util/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_debug": [
|
|
{
|
|
"guid": "nodejs_latest:util/debug[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.debug",
|
|
"doc": "<p>A synchronous output function. This block the process and outputs <code>string</code>\nimmediately to <code>stderr</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "str",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_error": [
|
|
{
|
|
"guid": "nodejs_latest:util/error[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.error",
|
|
"doc": "<p>Same as <code>util.debug()</code> except this will output all arguments immediately to\n<code>stderr</code>.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "str",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_format": [
|
|
{
|
|
"guid": "nodejs_latest:util/format[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.format",
|
|
"doc": "<p>Returns a formatted string using the first argument in a\n<code>printf()</code>-like way.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "format",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "arg",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_inherits": [
|
|
{
|
|
"guid": "nodejs_latest:util/inherits[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.inherits",
|
|
"doc": "<p>Inherit the prototype methods from one constructor into another. The prototype\nof <code>constructor</code> is set to a new object created from <code>superConstructor</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "constructor",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "superConstructor",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_inspect": [
|
|
{
|
|
"guid": "nodejs_latest:util/inspect[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.inspect",
|
|
"doc": "<p>Returns a string representation of <code>object</code>, which is useful for debugging.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "object",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "showHidden",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "depth",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isArray": [
|
|
{
|
|
"guid": "nodejs_latest:util/isArray[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.isArray",
|
|
"doc": "<p>Returns <code>true</code> if the given object is an <code>Array</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "object",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isDate": [
|
|
{
|
|
"guid": "nodejs_latest:util/isDate[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.isDate",
|
|
"doc": "<p>Returns <code>true</code> if the given object is a <code>Date</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "object",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isError": [
|
|
{
|
|
"guid": "nodejs_latest:util/isError[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.isError",
|
|
"doc": "<p>Returns <code>true</code> if the given object is an <code>Error</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "object",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_isRegExp": [
|
|
{
|
|
"guid": "nodejs_latest:util/isRegExp[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Boolean/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.isRegExp",
|
|
"doc": "<p>Returns <code>true</code> if the given "object" is a <code>RegExp</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "object",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_log": [
|
|
{
|
|
"guid": "nodejs_latest:util/log[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.log",
|
|
"doc": "<p>Outputs to <code>stdout</code>...but with a timestamp!</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "str",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_print": [
|
|
{
|
|
"guid": "nodejs_latest:util/print[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.print",
|
|
"doc": "<p>A synchronous output function. Will block the process, cast each argument to a\nstring then output to <code>stdout</code>. Does not place newlines after each argument.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "str",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_pump": [
|
|
{
|
|
"guid": "nodejs_latest:util/pump[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.pump",
|
|
"doc": "<p>Reads the data from <code>readableStream</code> and sends it to the <code>writableStream</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "readableStream",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "writableStream",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true,
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_puts": [
|
|
{
|
|
"guid": "nodejs_latest:util/puts[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util.puts",
|
|
"doc": "<p>A synchronous output function. Will block the process and output all arguments\nto <code>stdout</code> with newlines after each argument.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "str",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/util.html#util",
|
|
"doc": ""
|
|
},
|
|
"nodejs_latest:vm": {
|
|
"guid": "nodejs_latest:vm",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:vm/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_createContext": [
|
|
{
|
|
"guid": "nodejs_latest:vm/createContext[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.createContext",
|
|
"doc": "<p><code>vm.createContext()</code> creates a new context which is suitable for use as the\nsecond argument of a subsequent call to <code>vm.runInContext()</code>.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "initSandbox",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createScript": [
|
|
{
|
|
"guid": "nodejs_latest:vm/createScript[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:vm/Script/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.createScript",
|
|
"doc": "<p>This script can be run later many times using the other <code>vm</code> methods. In case of\nsyntax error in <code>code</code>, <code>createScript</code> prints the syntax error to stderr and\nthrows an exception.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "code",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_runInContext": [
|
|
{
|
|
"guid": "nodejs_latest:vm/runInContext[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.runInContext",
|
|
"doc": "<p><code>vm.runInContext()</code> compiles <code>code</code>, then runs it in <code>context</code> and returns the\nresult.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "code",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "context",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_runInNewContext": [
|
|
{
|
|
"guid": "nodejs_latest:vm/runInNewContext[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.runInNewContext",
|
|
"doc": "<p><code>vm.runInNewContext()</code> compiles <code>code</code> then runs it in <code>sandbox</code> and returns the\nresult. Running code does not have access to local scope. The object <code>sandbox</code>\nis used as the global object for <code>code</code>.\n<code>sandbox</code> and <code>filename</code> are optional, and <code>filename</code> is only used in stack\ntraces.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "code",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "sandbox",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
},
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_runInThisContext": [
|
|
{
|
|
"guid": "nodejs_latest:vm/runInThisContext[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.runInThisContext",
|
|
"doc": "<p><code>vm.runInThisContext()</code> compiles <code>code</code> as if it were loaded from <code>filename</code>,\nruns it, and returns the result. Running code does not have access to local\nscope. The <code>filename</code> is optional, and is only used in stack traces.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "code",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "filename",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm",
|
|
"doc": "<p>In Node.js, Javascript code can be compiled and run immediately or compiled,\nsaved, and run later. To do that, you can add <code>require('vm');</code> to your code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:vm/Script": {
|
|
"guid": "nodejs_latest:vm/Script",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:vm/Script/prototype",
|
|
"properties": {
|
|
"_runInNewContext": [
|
|
{
|
|
"guid": "nodejs_latest:vm/Script/prototype/runInNewContext[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.Script.runInNewContext",
|
|
"doc": "<p>Similar to <code>vm.runInNewContext()</code>, this is a method of a precompiled <code>Script</code>\nobject.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "sandbox",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_runInThisContext": [
|
|
{
|
|
"guid": "nodejs_latest:vm/Script/prototype/runInThisContext[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:String/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.Script.runInThisContext",
|
|
"doc": "<p>Similar to <code>vm.runInThisContext()</code>, but a method of the precompiled <code>Script</code>\nobject.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/vm.html#vm.Script",
|
|
"doc": "<p>This object is created as a result of the <code>vm.createScript()</code> method. It represents some compiled code than can be run\nat a later moment.</p>\n"
|
|
},
|
|
"nodejs_latest:worker": {
|
|
"guid": "nodejs_latest:worker",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:worker/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_destroy": [
|
|
{
|
|
"guid": "nodejs_latest:worker/destroy[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:Void/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#worker.destroy",
|
|
"doc": "<p>This function kills the worker, and inform the master to not spawn a new worker.\nTo know the difference between suicide and accidentally death, a suicide boolean\nis set to <code>true</code>.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_disconnect": [
|
|
{
|
|
"guid": "nodejs_latest:worker/disconnect[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:Void/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#worker.disconnect",
|
|
"doc": "<p>When calling this function the worker will no longer accept new connections, but\nthey will be handled by any other listening worker. Existing connection will be\nallowed to exit as usual. When no more connections exist, the IPC channel to the\nworker will close allowing it to die graceful. When the IPC channel is closed\nthe <code>disconnect</code> event will emit, this is then followed by the <code>death</code> event,\nthere is emitted when the worker finally die.\n</p>\n",
|
|
"fargs": []
|
|
}
|
|
],
|
|
"_process": [
|
|
{
|
|
"guid": "nodejs_latest:worker/process[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"nodejs_latest:child_process/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#worker.process",
|
|
"doc": "<p>Since all workers are created using <code>child_process.fork()</code>, the returned object from that function is stored in\n<code>process</code>.\n</p>\n"
|
|
}
|
|
],
|
|
"_send": [
|
|
{
|
|
"guid": "nodejs_latest:worker/send[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"nodejs_latest:Void/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#worker.send",
|
|
"doc": "<p>This function is equal to the send methods provided by <code>child_process.fork()</code>.\nIn the master, you should use this function to\nsend a message to a specific worker. However, in a worker you can also use\n<code>process.send(message)</code>, since this is the same function.\n</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "message",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "sendHandle",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_suicide": [
|
|
{
|
|
"guid": "nodejs_latest:worker/suicide[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Boolean/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#worker.suicide",
|
|
"doc": "<p>This property is a boolean. It is set when a worker dies after calling\n<code>destroy()</code> or immediately after calling the <code>disconnect()</code> method. Until then,\nit is <code>undefined</code>.</p>\n"
|
|
}
|
|
],
|
|
"_uniqueID": [
|
|
{
|
|
"guid": "nodejs_latest:worker/uniqueID[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:String/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#worker.uniqueID",
|
|
"doc": "<p>Each new worker is given its own unique id, stored in the <code>uniqueID</code>.\n</p>\n"
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/cluster.html#worker",
|
|
"doc": "<p>A <code>Worker</code> object contains all public information and methods about a worker. In\nthe master, it can be obtained using <code>cluster.workers</code>. In a worker it can be\nobtained using <code>cluster.worker</code>.</p>\n"
|
|
},
|
|
"nodejs_latest:zlib": {
|
|
"guid": "nodejs_latest:zlib",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/prototype",
|
|
"properties": {}
|
|
}
|
|
],
|
|
"_createDeflate": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/createDeflate[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.createDeflate",
|
|
"doc": "<p>Returns a new object for compressing using deflate.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createDeflateRaw": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/createDeflateRaw[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.createDeflateRaw",
|
|
"doc": "<p>Returns a new object for compressing using deflate, without an appended zlib\nheader.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createGunzip": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/createGunzip[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.createGunzip",
|
|
"doc": "<p>Returns a new object for Gunzip compression.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createGzip": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/createGzip[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.createGzip",
|
|
"doc": "<p>Returns a new Object for Gzip compression.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createInflate": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/createInflate[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.createInflate",
|
|
"doc": "<p>Returns a new object to decompress a deflate stream.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createInflateRaw": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/createInflateRaw[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.createInflateRaw",
|
|
"doc": "<p>Returns a new object to decompress a raw deflate stream (one without an appended\nzlib header).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_createUnzip": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/createUnzip[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.createUnzip",
|
|
"doc": "<p>Returns a new unzip to decompress either a Gzip- or Deflate-compressed stream by\nauto-detecting the header.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "options",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"opt": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_deflate": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/deflate[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.deflate",
|
|
"doc": "<p>Compresses a buffer using deflate.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "result",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_deflateRaw": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/deflateRaw[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.deflateRaw",
|
|
"doc": "<p>Compresses a buffer using a raw deflate stream (one without an appended zlib\nheader).</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "result",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_gunzip": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/gunzip[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.gunzip",
|
|
"doc": "<p>Decompress a buffer with Gunzip.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "result",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_gzip": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/gzip[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.gzip",
|
|
"doc": "<p>Compresses a buffer using Gzip.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "result",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_inflate": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/inflate[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.inflate",
|
|
"doc": "<p>Decompress a buffer with Inflate.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "result",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_inflateRaw": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/inflateRaw[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.inflateRaw",
|
|
"doc": "<p>Decompress a raw buffer with a raw deflate stream (one without an appended zlib\nheader)..</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "result",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_options": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/options[0]",
|
|
"properties": {
|
|
"___proto__": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.options",
|
|
"doc": "<p>Each class takes an optional options object. All options are optional. (The\nconvenience methods use the default settings for all options.)\n</p>\n"
|
|
}
|
|
],
|
|
"_unzip": [
|
|
{
|
|
"guid": "nodejs_latest:zlib/unzip[0]",
|
|
"properties": {
|
|
"_return": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"___proto__": [
|
|
"es5:Function/prototype"
|
|
]
|
|
},
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib.unzip",
|
|
"doc": "<p>Decompress a buffer with Unzip.</p>\n",
|
|
"fargs": [
|
|
{
|
|
"id": "buf",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "callback",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
],
|
|
"fargs": [
|
|
{
|
|
"id": "error",
|
|
"type": [
|
|
"es5:Error/prototype"
|
|
]
|
|
},
|
|
{
|
|
"id": "result",
|
|
"type": [
|
|
"es5:Object/prototype"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"kind": "package",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/zlib.html#zlib",
|
|
"doc": "<p>This provides bindings to Gzip/Gunzip, Deflate/Inflate, and\nDeflateRaw/InflateRaw classes. Each class takes the same options, and is a\nreadable/writable Stream.\n</p>\n"
|
|
},
|
|
"nodejs_latest:Addons": {
|
|
"guid": "nodejs_latest:Addons",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:Addons/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/addons.html#Addons",
|
|
"doc": "<p>Addons are dynamically linked shared objects. They can provide glue to C and\nC++ libraries. The API (at the moment) is rather complex, involving\nknowledge of several libraries:\n</p>\n"
|
|
},
|
|
"nodejs_latest:Debugger": {
|
|
"guid": "nodejs_latest:Debugger",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:Debugger/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/debugger.html#Debugger",
|
|
"doc": "<p>V8 comes with an extensive debugger which is accessible out-of-process via a\nsimple <a target=\"c9doc\" href=\"http://code.google.com/p/v8/wiki/DebuggerProtocol\">TCP protocol</a>.\n</p>\n"
|
|
},
|
|
"nodejs_latest:Domain": {
|
|
"guid": "nodejs_latest:Domain",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:Domain/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/domain.html#Domain",
|
|
"doc": "<p>Domains provide a way to handle multiple different IO operations as a\nsingle group. If any of the event emitters or callbacks registered to a\ndomain emit an <code>error</code> event, or throw an error, then the domain object\nwill be notified, rather than losing the context of the error in the\n<code>process.on('uncaughtException')</code> handler, or causing the program to\nexit with an error code.\n</p>\n"
|
|
},
|
|
"nodejs_latest:Globals": {
|
|
"guid": "nodejs_latest:Globals",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:Globals/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/globals.html#Globals",
|
|
"doc": "<p>These objects are available to all modules. Some of these objects aren't\nactually in the global scope, but in the module scope; they'll be noted as such\nbelow.\n</p>\n"
|
|
},
|
|
"nodejs_latest:Index": {
|
|
"guid": "nodejs_latest:Index",
|
|
"properties": {
|
|
"_prototype": [
|
|
{
|
|
"guid": "nodejs_latest:Index/prototype",
|
|
"properties": {}
|
|
}
|
|
]
|
|
},
|
|
"kind": "hidden",
|
|
"docUrl": "http://nodemanual.org/latest/nodejs_ref_guide/index.html#Index",
|
|
"doc": "<p>Node.js is a server-side Javascript environment. It's event-driven,\nasynchronous, and allows you to write a web server in a relatively quick amount\nof time.\n</p>\n"
|
|
}
|
|
} |