-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathscriptappy.json
169 lines (169 loc) · 4.74 KB
/
scriptappy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"scriptappy": "1.0.0",
"info": {
"name": "sy-example-nodejs",
"version": "8.0.0"
},
"entries": {
"net": {
"stability": "stable",
"kind": "module",
"entries": {
"Server": {
"description": "This class is used to create a TCP or ICP server",
"kind": "class",
"constructor": {
"kind": "function",
"params": []
},
"entries": {
"address": {
"description": "Returns the bound address.",
"kind": "function",
"params": [],
"returns": {
"type": "#/entries/net/entries/Server/definitions/address"
}
},
"close": {
"description": "Stops the server from accepting new connections and keeps existing connections",
"kind": "function",
"params": []
},
"connections": {
"description": "The number of concurrent connections on the server.",
"availability": {
"since": "0.2.0",
"deprecated": {
"description": "since 0.9.7. Use {@link module:net.Server#getConnection()} instead",
"since": "0.9.7"
}
},
"type": "any"
},
"getConnections": {
"availability": {
"since": "0.9.7"
},
"kind": "function",
"params": [
{
"name": "callback",
"type": "function"
}
],
"returns": {
"type": "#/entries/net/entries/Server"
}
}
},
"definitions": {
"address": {
"kind": "object",
"entries": {
"port": {
"type": "number"
},
"family": {
"type": "string"
},
"address": {
"type": "string"
}
}
}
},
"events": {
"close": {
"description": "Emitted when the server closes",
"kind": "event",
"params": []
},
"connect": {
"description": "Emitted when a new connection is made.",
"kind": "event",
"params": [
{
"name": "socket",
"description": "The connection object",
"type": "module:net.Socket"
}
]
}
}
},
"createServer": {
"description": "Creates a new TCP or ICP server.",
"kind": "function",
"params": [
{
"name": "options",
"optional": true,
"kind": "object",
"entries": {
"allowHalfOpen": {
"description": "Indicates whether half-opened TCP connections are allowed.",
"optional": true,
"defaultValue": false,
"type": "boolean"
},
"pauseOnConnect": {
"description": "Indicates whether the socket should be paused on incoming connections.",
"optional": true,
"defaultValue": false,
"type": "boolean"
}
}
},
{
"name": "connectionsListener",
"description": "Automatically sets a listener for the `connection` event.",
"optional": true,
"type": "function"
}
],
"returns": {
"type": "#/entries/net/entries/Server"
}
}
}
},
"path": {
"stability": "stable",
"kind": "module",
"entries": {
"dirname": {
"description": "Returns the directory name of a `path`",
"kind": "function",
"params": [
{
"name": "path",
"type": "string"
}
],
"returns": {
"type": "string"
}
},
"extname": {
"description": "Returns the extension of the `path`",
"kind": "function",
"params": [
{
"name": "path",
"type": "string"
}
],
"returns": {
"type": "string"
}
},
"win32": {
"description": "Provides acces to Window-specific implementations of the `path` methods",
"type": "object"
}
}
}
},
"definitions": {}
}