Bläddra i källkod

add message to ErrorResponse

master
peter 5 år sedan
förälder
incheckning
a0611d2de3

+ 2333
- 0
docs/assets/css/main.css
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


Binär
docs/assets/images/icons.png Visa fil


Binär
docs/assets/images/icons@2x.png Visa fil


Binär
docs/assets/images/widgets.png Visa fil


Binär
docs/assets/images/widgets@2x.png Visa fil


+ 447
- 0
docs/classes/_backend_.rpcserver.html Visa fil

@@ -0,0 +1,447 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>RPCServer | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="../modules/_backend_.html">&quot;Backend&quot;</a>
60
+				</li>
61
+				<li>
62
+					<a href="_backend_.rpcserver.html">RPCServer</a>
63
+				</li>
64
+			</ul>
65
+			<h1>Class RPCServer&lt;SubResType&gt;</h1>
66
+		</div>
67
+	</div>
68
+</header>
69
+<div class="container container-main">
70
+	<div class="row">
71
+		<div class="col-8 col-content">
72
+			<section class="tsd-panel tsd-type-parameters">
73
+				<h3>Type parameters</h3>
74
+				<ul class="tsd-type-parameters">
75
+					<li>
76
+						<h4>SubResType</h4>
77
+					</li>
78
+				</ul>
79
+			</section>
80
+			<section class="tsd-panel tsd-hierarchy">
81
+				<h3>Hierarchy</h3>
82
+				<ul class="tsd-hierarchy">
83
+					<li>
84
+						<span class="target">RPCServer</span>
85
+					</li>
86
+				</ul>
87
+			</section>
88
+			<section class="tsd-panel">
89
+				<h3>Implements</h3>
90
+				<ul class="tsd-hierarchy">
91
+					<li><a href="../interfaces/_interfaces_.destroyable.html" class="tsd-signature-type">Destroyable</a></li>
92
+				</ul>
93
+			</section>
94
+			<section class="tsd-panel-group tsd-index-group">
95
+				<h2>Index</h2>
96
+				<section class="tsd-panel tsd-index-panel">
97
+					<div class="tsd-index-content">
98
+						<section class="tsd-index-section ">
99
+							<h3>Constructors</h3>
100
+							<ul class="tsd-index-list">
101
+								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_backend_.rpcserver.html#constructor" class="tsd-kind-icon">constructor</a></li>
102
+							</ul>
103
+						</section>
104
+						<section class="tsd-index-section tsd-is-private tsd-is-private-protected">
105
+							<h3>Properties</h3>
106
+							<ul class="tsd-index-list">
107
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#closehandler" class="tsd-kind-icon">close<wbr>Handler</a></li>
108
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#connectionhandler" class="tsd-kind-icon">connection<wbr>Handler</a></li>
109
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#errorhandler" class="tsd-kind-icon">error<wbr>Handler</a></li>
110
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#exporters" class="tsd-kind-icon">exporters</a></li>
111
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#io" class="tsd-kind-icon">io</a></li>
112
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#port" class="tsd-kind-icon">port</a></li>
113
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#visibility" class="tsd-kind-icon">visibility</a></li>
114
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#ws" class="tsd-kind-icon">ws</a></li>
115
+							</ul>
116
+						</section>
117
+						<section class="tsd-index-section ">
118
+							<h3>Methods</h3>
119
+							<ul class="tsd-index-list">
120
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_backend_.rpcserver.html#destroy" class="tsd-kind-icon">destroy</a></li>
121
+								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a href="_backend_.rpcserver.html#initrpcs" class="tsd-kind-icon">initRPCs</a></li>
122
+								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_backend_.rpcserver.html#startwebsocket" class="tsd-kind-icon">start<wbr>Websocket</a></li>
123
+							</ul>
124
+						</section>
125
+					</div>
126
+				</section>
127
+			</section>
128
+			<section class="tsd-panel-group tsd-member-group ">
129
+				<h2>Constructors</h2>
130
+				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
131
+					<a name="constructor" class="tsd-anchor"></a>
132
+					<h3>constructor</h3>
133
+					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
134
+						<li class="tsd-signature tsd-kind-icon">new RPCServer<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, exporters<span class="tsd-signature-symbol">?: </span><a href="../interfaces/_interfaces_.exporter.html" class="tsd-signature-type">Exporter</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SubResType</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span>, conf<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">T.SocketConf</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_backend_.rpcserver.html" class="tsd-signature-type">RPCServer</a></li>
135
+					</ul>
136
+					<ul class="tsd-descriptions">
137
+						<li class="tsd-description">
138
+							<aside class="tsd-sources">
139
+								<ul>
140
+									<li>Defined in Backend.ts:19</li>
141
+								</ul>
142
+							</aside>
143
+							<h4 class="tsd-parameters-title">Parameters</h4>
144
+							<ul class="tsd-parameters">
145
+								<li>
146
+									<h5>port: <span class="tsd-signature-type">number</span></h5>
147
+								</li>
148
+								<li>
149
+									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> exporters: <a href="../interfaces/_interfaces_.exporter.html" class="tsd-signature-type">Exporter</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SubResType</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> =&nbsp;[]</span></h5>
150
+								</li>
151
+								<li>
152
+									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> conf: <span class="tsd-signature-type">T.SocketConf</span><span class="tsd-signature-symbol"> =&nbsp;{}</span></h5>
153
+								</li>
154
+							</ul>
155
+							<h4 class="tsd-returns-title">Returns <a href="_backend_.rpcserver.html" class="tsd-signature-type">RPCServer</a></h4>
156
+						</li>
157
+					</ul>
158
+				</section>
159
+			</section>
160
+			<section class="tsd-panel-group tsd-member-group tsd-is-private tsd-is-private-protected">
161
+				<h2>Properties</h2>
162
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
163
+					<a name="closehandler" class="tsd-anchor"></a>
164
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> close<wbr>Handler</h3>
165
+					<div class="tsd-signature tsd-kind-icon">close<wbr>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T.CloseHandler</span></div>
166
+					<aside class="tsd-sources">
167
+						<ul>
168
+							<li>Defined in Backend.ts:17</li>
169
+						</ul>
170
+					</aside>
171
+				</section>
172
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
173
+					<a name="connectionhandler" class="tsd-anchor"></a>
174
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> connection<wbr>Handler</h3>
175
+					<div class="tsd-signature tsd-kind-icon">connection<wbr>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T.ConnectionHandler</span></div>
176
+					<aside class="tsd-sources">
177
+						<ul>
178
+							<li>Defined in Backend.ts:19</li>
179
+						</ul>
180
+					</aside>
181
+				</section>
182
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
183
+					<a name="errorhandler" class="tsd-anchor"></a>
184
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> error<wbr>Handler</h3>
185
+					<div class="tsd-signature tsd-kind-icon">error<wbr>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T.ErrorHandler</span></div>
186
+					<aside class="tsd-sources">
187
+						<ul>
188
+							<li>Defined in Backend.ts:18</li>
189
+						</ul>
190
+					</aside>
191
+				</section>
192
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
193
+					<a name="exporters" class="tsd-anchor"></a>
194
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> exporters</h3>
195
+					<div class="tsd-signature tsd-kind-icon">exporters<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_interfaces_.exporter.html" class="tsd-signature-type">Exporter</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SubResType</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></div>
196
+					<aside class="tsd-sources">
197
+						<ul>
198
+							<li>Defined in Backend.ts:23</li>
199
+						</ul>
200
+					</aside>
201
+				</section>
202
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
203
+					<a name="io" class="tsd-anchor"></a>
204
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> io</h3>
205
+					<div class="tsd-signature tsd-kind-icon">io<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> =&nbsp;bsock.createServer()</span></div>
206
+					<aside class="tsd-sources">
207
+						<ul>
208
+							<li>Defined in Backend.ts:15</li>
209
+						</ul>
210
+					</aside>
211
+				</section>
212
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
213
+					<a name="port" class="tsd-anchor"></a>
214
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> port</h3>
215
+					<div class="tsd-signature tsd-kind-icon">port<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
216
+					<aside class="tsd-sources">
217
+						<ul>
218
+							<li>Defined in Backend.ts:22</li>
219
+						</ul>
220
+					</aside>
221
+				</section>
222
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
223
+					<a name="visibility" class="tsd-anchor"></a>
224
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> visibility</h3>
225
+					<div class="tsd-signature tsd-kind-icon">visibility<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T.Visibility</span></div>
226
+					<aside class="tsd-sources">
227
+						<ul>
228
+							<li>Defined in Backend.ts:16</li>
229
+						</ul>
230
+					</aside>
231
+				</section>
232
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
233
+					<a name="ws" class="tsd-anchor"></a>
234
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> ws</h3>
235
+					<div class="tsd-signature tsd-kind-icon">ws<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Server</span><span class="tsd-signature-symbol"> =&nbsp;http.createServer()</span></div>
236
+					<aside class="tsd-sources">
237
+						<ul>
238
+							<li>Defined in Backend.ts:14</li>
239
+						</ul>
240
+					</aside>
241
+				</section>
242
+			</section>
243
+			<section class="tsd-panel-group tsd-member-group ">
244
+				<h2>Methods</h2>
245
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
246
+					<a name="destroy" class="tsd-anchor"></a>
247
+					<h3>destroy</h3>
248
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
249
+						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
250
+					</ul>
251
+					<ul class="tsd-descriptions">
252
+						<li class="tsd-description">
253
+							<aside class="tsd-sources">
254
+								<p>Implementation of <a href="../interfaces/_interfaces_.destroyable.html">Destroyable</a>.<a href="../interfaces/_interfaces_.destroyable.html#destroy">destroy</a></p>
255
+								<ul>
256
+									<li>Defined in Backend.ts:80</li>
257
+								</ul>
258
+							</aside>
259
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
260
+						</li>
261
+					</ul>
262
+				</section>
263
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected">
264
+					<a name="initrpcs" class="tsd-anchor"></a>
265
+					<h3><span class="tsd-flag ts-flagProtected">Protected</span> initRPCs</h3>
266
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
267
+						<li class="tsd-signature tsd-kind-icon">initRPCs<span class="tsd-signature-symbol">(</span>socket<span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
268
+					</ul>
269
+					<ul class="tsd-descriptions">
270
+						<li class="tsd-description">
271
+							<aside class="tsd-sources">
272
+								<ul>
273
+									<li>Defined in Backend.ts:73</li>
274
+								</ul>
275
+							</aside>
276
+							<h4 class="tsd-parameters-title">Parameters</h4>
277
+							<ul class="tsd-parameters">
278
+								<li>
279
+									<h5>socket: <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h5>
280
+								</li>
281
+							</ul>
282
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
283
+						</li>
284
+					</ul>
285
+				</section>
286
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
287
+					<a name="startwebsocket" class="tsd-anchor"></a>
288
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> start<wbr>Websocket</h3>
289
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
290
+						<li class="tsd-signature tsd-kind-icon">start<wbr>Websocket<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
291
+					</ul>
292
+					<ul class="tsd-descriptions">
293
+						<li class="tsd-description">
294
+							<aside class="tsd-sources">
295
+								<ul>
296
+									<li>Defined in Backend.ts:57</li>
297
+								</ul>
298
+							</aside>
299
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
300
+						</li>
301
+					</ul>
302
+				</section>
303
+			</section>
304
+		</div>
305
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
306
+			<nav class="tsd-navigation primary">
307
+				<ul>
308
+					<li class="globals  ">
309
+						<a href="../index.html"><em>Globals</em></a>
310
+					</li>
311
+					<li class="current tsd-kind-external-module">
312
+						<a href="../modules/_backend_.html">"<wbr>Backend"</a>
313
+					</li>
314
+					<li class=" tsd-kind-external-module">
315
+						<a href="../modules/_frontend_.html">"<wbr>Frontend"</a>
316
+					</li>
317
+					<li class=" tsd-kind-external-module">
318
+						<a href="../modules/_interfaces_.html">"<wbr>Interfaces"</a>
319
+					</li>
320
+					<li class=" tsd-kind-external-module">
321
+						<a href="../modules/_types_.html">"<wbr>Types"</a>
322
+					</li>
323
+					<li class=" tsd-kind-external-module">
324
+						<a href="../modules/_utils_.html">"<wbr>Utils"</a>
325
+					</li>
326
+				</ul>
327
+			</nav>
328
+			<nav class="tsd-navigation secondary menu-sticky">
329
+				<ul class="before-current">
330
+				</ul>
331
+				<ul class="current">
332
+					<li class="current tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter">
333
+						<a href="_backend_.rpcserver.html" class="tsd-kind-icon">RPCServer</a>
334
+						<ul>
335
+							<li class=" tsd-kind-constructor tsd-parent-kind-class">
336
+								<a href="_backend_.rpcserver.html#constructor" class="tsd-kind-icon">constructor</a>
337
+							</li>
338
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
339
+								<a href="_backend_.rpcserver.html#closehandler" class="tsd-kind-icon">close<wbr>Handler</a>
340
+							</li>
341
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
342
+								<a href="_backend_.rpcserver.html#connectionhandler" class="tsd-kind-icon">connection<wbr>Handler</a>
343
+							</li>
344
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
345
+								<a href="_backend_.rpcserver.html#errorhandler" class="tsd-kind-icon">error<wbr>Handler</a>
346
+							</li>
347
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
348
+								<a href="_backend_.rpcserver.html#exporters" class="tsd-kind-icon">exporters</a>
349
+							</li>
350
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
351
+								<a href="_backend_.rpcserver.html#io" class="tsd-kind-icon">io</a>
352
+							</li>
353
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
354
+								<a href="_backend_.rpcserver.html#port" class="tsd-kind-icon">port</a>
355
+							</li>
356
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
357
+								<a href="_backend_.rpcserver.html#visibility" class="tsd-kind-icon">visibility</a>
358
+							</li>
359
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
360
+								<a href="_backend_.rpcserver.html#ws" class="tsd-kind-icon">ws</a>
361
+							</li>
362
+							<li class=" tsd-kind-method tsd-parent-kind-class">
363
+								<a href="_backend_.rpcserver.html#destroy" class="tsd-kind-icon">destroy</a>
364
+							</li>
365
+							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-protected">
366
+								<a href="_backend_.rpcserver.html#initrpcs" class="tsd-kind-icon">initRPCs</a>
367
+							</li>
368
+							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
369
+								<a href="_backend_.rpcserver.html#startwebsocket" class="tsd-kind-icon">start<wbr>Websocket</a>
370
+							</li>
371
+						</ul>
372
+					</li>
373
+				</ul>
374
+				<ul class="after-current">
375
+				</ul>
376
+			</nav>
377
+		</div>
378
+	</div>
379
+</div>
380
+<footer class="with-border-bottom">
381
+	<div class="container">
382
+		<h2>Legend</h2>
383
+		<div class="tsd-legend-group">
384
+			<ul class="tsd-legend">
385
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
386
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
387
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
388
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
389
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
390
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
391
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
392
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
393
+			</ul>
394
+			<ul class="tsd-legend">
395
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
396
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
397
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
398
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
399
+			</ul>
400
+			<ul class="tsd-legend">
401
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
402
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
403
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
404
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
405
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
406
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
407
+			</ul>
408
+			<ul class="tsd-legend">
409
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
410
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
411
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
412
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
413
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
414
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
415
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
416
+			</ul>
417
+			<ul class="tsd-legend">
418
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
419
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
420
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
421
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
422
+			</ul>
423
+			<ul class="tsd-legend">
424
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
425
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
426
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
427
+			</ul>
428
+			<ul class="tsd-legend">
429
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
430
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
431
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
432
+			</ul>
433
+			<ul class="tsd-legend">
434
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
435
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
436
+			</ul>
437
+		</div>
438
+	</div>
439
+</footer>
440
+<div class="container tsd-generator">
441
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
442
+</div>
443
+<div class="overlay"></div>
444
+<script src="../assets/js/main.js"></script>
445
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
446
+</body>
447
+</html>

+ 649
- 0
docs/classes/_frontend_.rpcsocket.html Visa fil

@@ -0,0 +1,649 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>RPCSocket | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="../modules/_frontend_.html">&quot;Frontend&quot;</a>
60
+				</li>
61
+				<li>
62
+					<a href="_frontend_.rpcsocket.html">RPCSocket</a>
63
+				</li>
64
+			</ul>
65
+			<h1>Class RPCSocket</h1>
66
+		</div>
67
+	</div>
68
+</header>
69
+<div class="container container-main">
70
+	<div class="row">
71
+		<div class="col-8 col-content">
72
+			<section class="tsd-panel tsd-hierarchy">
73
+				<h3>Hierarchy</h3>
74
+				<ul class="tsd-hierarchy">
75
+					<li>
76
+						<span class="target">RPCSocket</span>
77
+					</li>
78
+				</ul>
79
+			</section>
80
+			<section class="tsd-panel">
81
+				<h3>Implements</h3>
82
+				<ul class="tsd-hierarchy">
83
+					<li><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></li>
84
+				</ul>
85
+			</section>
86
+			<section class="tsd-panel-group tsd-index-group">
87
+				<h2>Index</h2>
88
+				<section class="tsd-panel tsd-index-panel">
89
+					<div class="tsd-index-content">
90
+						<section class="tsd-index-section ">
91
+							<h3>Constructors</h3>
92
+							<ul class="tsd-index-list">
93
+								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#constructor" class="tsd-kind-icon">constructor</a></li>
94
+							</ul>
95
+						</section>
96
+						<section class="tsd-index-section ">
97
+							<h3>Properties</h3>
98
+							<ul class="tsd-index-list">
99
+								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#port" class="tsd-kind-icon">port</a></li>
100
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_frontend_.rpcsocket.html#server" class="tsd-kind-icon">server</a></li>
101
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_frontend_.rpcsocket.html#socket" class="tsd-kind-icon">socket</a></li>
102
+								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_frontend_.rpcsocket.html#tls" class="tsd-kind-icon">tls</a></li>
103
+							</ul>
104
+						</section>
105
+						<section class="tsd-index-section ">
106
+							<h3>Methods</h3>
107
+							<ul class="tsd-index-list">
108
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#call" class="tsd-kind-icon">call</a></li>
109
+								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_frontend_.rpcsocket.html#callgenerator" class="tsd-kind-icon">call<wbr>Generator</a></li>
110
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#close" class="tsd-kind-icon">close</a></li>
111
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#connect" class="tsd-kind-icon">connect</a></li>
112
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#destroy" class="tsd-kind-icon">destroy</a></li>
113
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#fire" class="tsd-kind-icon">fire</a></li>
114
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#hook" class="tsd-kind-icon">hook</a></li>
115
+								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_frontend_.rpcsocket.html#hookgenerator" class="tsd-kind-icon">hook<wbr>Generator</a></li>
116
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#info" class="tsd-kind-icon">info</a></li>
117
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#on" class="tsd-kind-icon">on</a></li>
118
+								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_frontend_.rpcsocket.html#unhook" class="tsd-kind-icon">unhook</a></li>
119
+							</ul>
120
+						</section>
121
+					</div>
122
+				</section>
123
+			</section>
124
+			<section class="tsd-panel-group tsd-member-group ">
125
+				<h2>Constructors</h2>
126
+				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
127
+					<a name="constructor" class="tsd-anchor"></a>
128
+					<h3>constructor</h3>
129
+					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
130
+						<li class="tsd-signature tsd-kind-icon">new RPCSocket<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, server<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, tls<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_frontend_.rpcsocket.html" class="tsd-signature-type">RPCSocket</a></li>
131
+					</ul>
132
+					<ul class="tsd-descriptions">
133
+						<li class="tsd-description">
134
+							<aside class="tsd-sources">
135
+								<ul>
136
+									<li>Defined in Frontend.ts:15</li>
137
+								</ul>
138
+							</aside>
139
+							<h4 class="tsd-parameters-title">Parameters</h4>
140
+							<ul class="tsd-parameters">
141
+								<li>
142
+									<h5>port: <span class="tsd-signature-type">number</span></h5>
143
+								</li>
144
+								<li>
145
+									<h5>server: <span class="tsd-signature-type">string</span></h5>
146
+								</li>
147
+								<li>
148
+									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> tls: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> =&nbsp;false</span></h5>
149
+								</li>
150
+							</ul>
151
+							<h4 class="tsd-returns-title">Returns <a href="_frontend_.rpcsocket.html" class="tsd-signature-type">RPCSocket</a></h4>
152
+						</li>
153
+					</ul>
154
+				</section>
155
+			</section>
156
+			<section class="tsd-panel-group tsd-member-group ">
157
+				<h2>Properties</h2>
158
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
159
+					<a name="port" class="tsd-anchor"></a>
160
+					<h3>port</h3>
161
+					<div class="tsd-signature tsd-kind-icon">port<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
162
+					<aside class="tsd-sources">
163
+						<p>Implementation of <a href="../interfaces/_interfaces_.socket.html">Socket</a>.<a href="../interfaces/_interfaces_.socket.html#port">port</a></p>
164
+						<ul>
165
+							<li>Defined in Frontend.ts:16</li>
166
+						</ul>
167
+					</aside>
168
+				</section>
169
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
170
+					<a name="server" class="tsd-anchor"></a>
171
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> server</h3>
172
+					<div class="tsd-signature tsd-kind-icon">server<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
173
+					<aside class="tsd-sources">
174
+						<ul>
175
+							<li>Defined in Frontend.ts:16</li>
176
+						</ul>
177
+					</aside>
178
+				</section>
179
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
180
+					<a name="socket" class="tsd-anchor"></a>
181
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> socket</h3>
182
+					<div class="tsd-signature tsd-kind-icon">socket<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></div>
183
+					<aside class="tsd-sources">
184
+						<ul>
185
+							<li>Defined in Frontend.ts:15</li>
186
+						</ul>
187
+					</aside>
188
+				</section>
189
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
190
+					<a name="tls" class="tsd-anchor"></a>
191
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> tls</h3>
192
+					<div class="tsd-signature tsd-kind-icon">tls<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
193
+					<aside class="tsd-sources">
194
+						<ul>
195
+							<li>Defined in Frontend.ts:16</li>
196
+						</ul>
197
+					</aside>
198
+				</section>
199
+			</section>
200
+			<section class="tsd-panel-group tsd-member-group ">
201
+				<h2>Methods</h2>
202
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
203
+					<a name="call" class="tsd-anchor"></a>
204
+					<h3>call</h3>
205
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
206
+						<li class="tsd-signature tsd-kind-icon">call<span class="tsd-signature-symbol">(</span>rpcname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></li>
207
+					</ul>
208
+					<ul class="tsd-descriptions">
209
+						<li class="tsd-description">
210
+							<aside class="tsd-sources">
211
+								<ul>
212
+									<li>Defined in Frontend.ts:40</li>
213
+								</ul>
214
+							</aside>
215
+							<h4 class="tsd-parameters-title">Parameters</h4>
216
+							<ul class="tsd-parameters">
217
+								<li>
218
+									<h5>rpcname: <span class="tsd-signature-type">T.Name</span></h5>
219
+								</li>
220
+								<li>
221
+									<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span></h5>
222
+								</li>
223
+							</ul>
224
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></h4>
225
+						</li>
226
+					</ul>
227
+				</section>
228
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
229
+					<a name="callgenerator" class="tsd-anchor"></a>
230
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> call<wbr>Generator</h3>
231
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
232
+						<li class="tsd-signature tsd-kind-icon">call<wbr>Generator<span class="tsd-signature-symbol">(</span>fnName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, fnArgs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Arg</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.AsyncFunction</span></li>
233
+					</ul>
234
+					<ul class="tsd-descriptions">
235
+						<li class="tsd-description">
236
+							<aside class="tsd-sources">
237
+								<ul>
238
+									<li>Defined in Frontend.ts:73</li>
239
+								</ul>
240
+							</aside>
241
+							<h4 class="tsd-parameters-title">Parameters</h4>
242
+							<ul class="tsd-parameters">
243
+								<li>
244
+									<h5>fnName: <span class="tsd-signature-type">T.Name</span></h5>
245
+								</li>
246
+								<li>
247
+									<h5>fnArgs: <span class="tsd-signature-type">T.Arg</span><span class="tsd-signature-symbol">[]</span></h5>
248
+								</li>
249
+							</ul>
250
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T.AsyncFunction</span></h4>
251
+						</li>
252
+					</ul>
253
+				</section>
254
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
255
+					<a name="close" class="tsd-anchor"></a>
256
+					<h3>close</h3>
257
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
258
+						<li class="tsd-signature tsd-kind-icon">close<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
259
+					</ul>
260
+					<ul class="tsd-descriptions">
261
+						<li class="tsd-description">
262
+							<aside class="tsd-sources">
263
+								<p>Implementation of <a href="../interfaces/_interfaces_.socket.html">Socket</a>.<a href="../interfaces/_interfaces_.socket.html#close">close</a></p>
264
+								<ul>
265
+									<li>Defined in Frontend.ts:36</li>
266
+								</ul>
267
+							</aside>
268
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
269
+						</li>
270
+					</ul>
271
+				</section>
272
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
273
+					<a name="connect" class="tsd-anchor"></a>
274
+					<h3>connect</h3>
275
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
276
+						<li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
277
+					</ul>
278
+					<ul class="tsd-descriptions">
279
+						<li class="tsd-description">
280
+							<aside class="tsd-sources">
281
+								<ul>
282
+									<li>Defined in Frontend.ts:48</li>
283
+								</ul>
284
+							</aside>
285
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
286
+						</li>
287
+					</ul>
288
+				</section>
289
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
290
+					<a name="destroy" class="tsd-anchor"></a>
291
+					<h3>destroy</h3>
292
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
293
+						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
294
+					</ul>
295
+					<ul class="tsd-descriptions">
296
+						<li class="tsd-description">
297
+							<aside class="tsd-sources">
298
+								<p>Implementation of <a href="../interfaces/_interfaces_.socket.html">Socket</a>.<a href="../interfaces/_interfaces_.socket.html#destroy">destroy</a></p>
299
+								<ul>
300
+									<li>Defined in Frontend.ts:32</li>
301
+								</ul>
302
+							</aside>
303
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
304
+						</li>
305
+					</ul>
306
+				</section>
307
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
308
+					<a name="fire" class="tsd-anchor"></a>
309
+					<h3>fire</h3>
310
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
311
+						<li class="tsd-signature tsd-kind-icon">fire<span class="tsd-signature-symbol">(</span>rpcname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></li>
312
+					</ul>
313
+					<ul class="tsd-descriptions">
314
+						<li class="tsd-description">
315
+							<aside class="tsd-sources">
316
+								<ul>
317
+									<li>Defined in Frontend.ts:44</li>
318
+								</ul>
319
+							</aside>
320
+							<h4 class="tsd-parameters-title">Parameters</h4>
321
+							<ul class="tsd-parameters">
322
+								<li>
323
+									<h5>rpcname: <span class="tsd-signature-type">T.Name</span></h5>
324
+								</li>
325
+								<li>
326
+									<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span></h5>
327
+								</li>
328
+							</ul>
329
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></h4>
330
+						</li>
331
+					</ul>
332
+				</section>
333
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
334
+					<a name="hook" class="tsd-anchor"></a>
335
+					<h3>hook</h3>
336
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
337
+						<li class="tsd-signature tsd-kind-icon">hook<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, handler<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></li>
338
+					</ul>
339
+					<ul class="tsd-descriptions">
340
+						<li class="tsd-description">
341
+							<aside class="tsd-sources">
342
+								<ul>
343
+									<li>Defined in Frontend.ts:20</li>
344
+								</ul>
345
+							</aside>
346
+							<h4 class="tsd-parameters-title">Parameters</h4>
347
+							<ul class="tsd-parameters">
348
+								<li>
349
+									<h5>name: <span class="tsd-signature-type">T.Name</span></h5>
350
+								</li>
351
+								<li>
352
+									<h5>handler: <span class="tsd-signature-type">function</span></h5>
353
+									<ul class="tsd-parameters">
354
+										<li class="tsd-parameter-siganture">
355
+											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
356
+												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
357
+											</ul>
358
+											<ul class="tsd-descriptions">
359
+												<li class="tsd-description">
360
+													<h4 class="tsd-parameters-title">Parameters</h4>
361
+													<ul class="tsd-parameters">
362
+														<li>
363
+															<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
364
+														</li>
365
+													</ul>
366
+													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span>
367
+														<span class="tsd-signature-symbol"> | </span>
368
+														<span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span>
369
+													</h4>
370
+												</li>
371
+											</ul>
372
+										</li>
373
+									</ul>
374
+								</li>
375
+							</ul>
376
+							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h4>
377
+						</li>
378
+					</ul>
379
+				</section>
380
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
381
+					<a name="hookgenerator" class="tsd-anchor"></a>
382
+					<h3><span class="tsd-flag ts-flagPrivate">Private</span> hook<wbr>Generator</h3>
383
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
384
+						<li class="tsd-signature tsd-kind-icon">hook<wbr>Generator<span class="tsd-signature-symbol">(</span>fnName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, fnArgs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Arg</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.HookFunction</span></li>
385
+					</ul>
386
+					<ul class="tsd-descriptions">
387
+						<li class="tsd-description">
388
+							<aside class="tsd-sources">
389
+								<ul>
390
+									<li>Defined in Frontend.ts:79</li>
391
+								</ul>
392
+							</aside>
393
+							<h4 class="tsd-parameters-title">Parameters</h4>
394
+							<ul class="tsd-parameters">
395
+								<li>
396
+									<h5>fnName: <span class="tsd-signature-type">T.Name</span></h5>
397
+								</li>
398
+								<li>
399
+									<h5>fnArgs: <span class="tsd-signature-type">T.Arg</span><span class="tsd-signature-symbol">[]</span></h5>
400
+								</li>
401
+							</ul>
402
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T.HookFunction</span></h4>
403
+						</li>
404
+					</ul>
405
+				</section>
406
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
407
+					<a name="info" class="tsd-anchor"></a>
408
+					<h3>info</h3>
409
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
410
+						<li class="tsd-signature tsd-kind-icon">info<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
411
+					</ul>
412
+					<ul class="tsd-descriptions">
413
+						<li class="tsd-description">
414
+							<aside class="tsd-sources">
415
+								<ul>
416
+									<li>Defined in Frontend.ts:69</li>
417
+								</ul>
418
+							</aside>
419
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
420
+						</li>
421
+					</ul>
422
+				</section>
423
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
424
+					<a name="on" class="tsd-anchor"></a>
425
+					<h3>on</h3>
426
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
427
+						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"error"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"close"</span>, f<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></li>
428
+					</ul>
429
+					<ul class="tsd-descriptions">
430
+						<li class="tsd-description">
431
+							<aside class="tsd-sources">
432
+								<ul>
433
+									<li>Defined in Frontend.ts:28</li>
434
+								</ul>
435
+							</aside>
436
+							<h4 class="tsd-parameters-title">Parameters</h4>
437
+							<ul class="tsd-parameters">
438
+								<li>
439
+									<h5>type: <span class="tsd-signature-type">"error"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"close"</span></h5>
440
+								</li>
441
+								<li>
442
+									<h5>f: <span class="tsd-signature-type">function</span></h5>
443
+									<ul class="tsd-parameters">
444
+										<li class="tsd-parameter-siganture">
445
+											<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
446
+												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
447
+											</ul>
448
+											<ul class="tsd-descriptions">
449
+												<li class="tsd-description">
450
+													<h4 class="tsd-parameters-title">Parameters</h4>
451
+													<ul class="tsd-parameters">
452
+														<li>
453
+															<h5><span class="tsd-flag ts-flagOptional">Optional</span> e: <span class="tsd-signature-type">any</span></h5>
454
+														</li>
455
+													</ul>
456
+													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
457
+												</li>
458
+											</ul>
459
+										</li>
460
+									</ul>
461
+								</li>
462
+							</ul>
463
+							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h4>
464
+						</li>
465
+					</ul>
466
+				</section>
467
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
468
+					<a name="unhook" class="tsd-anchor"></a>
469
+					<h3>unhook</h3>
470
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
471
+						<li class="tsd-signature tsd-kind-icon">unhook<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></li>
472
+					</ul>
473
+					<ul class="tsd-descriptions">
474
+						<li class="tsd-description">
475
+							<aside class="tsd-sources">
476
+								<ul>
477
+									<li>Defined in Frontend.ts:24</li>
478
+								</ul>
479
+							</aside>
480
+							<h4 class="tsd-parameters-title">Parameters</h4>
481
+							<ul class="tsd-parameters">
482
+								<li>
483
+									<h5>name: <span class="tsd-signature-type">T.Name</span></h5>
484
+								</li>
485
+							</ul>
486
+							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h4>
487
+						</li>
488
+					</ul>
489
+				</section>
490
+			</section>
491
+		</div>
492
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
493
+			<nav class="tsd-navigation primary">
494
+				<ul>
495
+					<li class="globals  ">
496
+						<a href="../index.html"><em>Globals</em></a>
497
+					</li>
498
+					<li class=" tsd-kind-external-module">
499
+						<a href="../modules/_backend_.html">"<wbr>Backend"</a>
500
+					</li>
501
+					<li class="current tsd-kind-external-module">
502
+						<a href="../modules/_frontend_.html">"<wbr>Frontend"</a>
503
+					</li>
504
+					<li class=" tsd-kind-external-module">
505
+						<a href="../modules/_interfaces_.html">"<wbr>Interfaces"</a>
506
+					</li>
507
+					<li class=" tsd-kind-external-module">
508
+						<a href="../modules/_types_.html">"<wbr>Types"</a>
509
+					</li>
510
+					<li class=" tsd-kind-external-module">
511
+						<a href="../modules/_utils_.html">"<wbr>Utils"</a>
512
+					</li>
513
+				</ul>
514
+			</nav>
515
+			<nav class="tsd-navigation secondary menu-sticky">
516
+				<ul class="before-current">
517
+				</ul>
518
+				<ul class="current">
519
+					<li class="current tsd-kind-class tsd-parent-kind-external-module">
520
+						<a href="_frontend_.rpcsocket.html" class="tsd-kind-icon">RPCSocket</a>
521
+						<ul>
522
+							<li class=" tsd-kind-constructor tsd-parent-kind-class">
523
+								<a href="_frontend_.rpcsocket.html#constructor" class="tsd-kind-icon">constructor</a>
524
+							</li>
525
+							<li class=" tsd-kind-property tsd-parent-kind-class">
526
+								<a href="_frontend_.rpcsocket.html#port" class="tsd-kind-icon">port</a>
527
+							</li>
528
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
529
+								<a href="_frontend_.rpcsocket.html#server" class="tsd-kind-icon">server</a>
530
+							</li>
531
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
532
+								<a href="_frontend_.rpcsocket.html#socket" class="tsd-kind-icon">socket</a>
533
+							</li>
534
+							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
535
+								<a href="_frontend_.rpcsocket.html#tls" class="tsd-kind-icon">tls</a>
536
+							</li>
537
+							<li class=" tsd-kind-method tsd-parent-kind-class">
538
+								<a href="_frontend_.rpcsocket.html#call" class="tsd-kind-icon">call</a>
539
+							</li>
540
+							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
541
+								<a href="_frontend_.rpcsocket.html#callgenerator" class="tsd-kind-icon">call<wbr>Generator</a>
542
+							</li>
543
+							<li class=" tsd-kind-method tsd-parent-kind-class">
544
+								<a href="_frontend_.rpcsocket.html#close" class="tsd-kind-icon">close</a>
545
+							</li>
546
+							<li class=" tsd-kind-method tsd-parent-kind-class">
547
+								<a href="_frontend_.rpcsocket.html#connect" class="tsd-kind-icon">connect</a>
548
+							</li>
549
+							<li class=" tsd-kind-method tsd-parent-kind-class">
550
+								<a href="_frontend_.rpcsocket.html#destroy" class="tsd-kind-icon">destroy</a>
551
+							</li>
552
+							<li class=" tsd-kind-method tsd-parent-kind-class">
553
+								<a href="_frontend_.rpcsocket.html#fire" class="tsd-kind-icon">fire</a>
554
+							</li>
555
+							<li class=" tsd-kind-method tsd-parent-kind-class">
556
+								<a href="_frontend_.rpcsocket.html#hook" class="tsd-kind-icon">hook</a>
557
+							</li>
558
+							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
559
+								<a href="_frontend_.rpcsocket.html#hookgenerator" class="tsd-kind-icon">hook<wbr>Generator</a>
560
+							</li>
561
+							<li class=" tsd-kind-method tsd-parent-kind-class">
562
+								<a href="_frontend_.rpcsocket.html#info" class="tsd-kind-icon">info</a>
563
+							</li>
564
+							<li class=" tsd-kind-method tsd-parent-kind-class">
565
+								<a href="_frontend_.rpcsocket.html#on" class="tsd-kind-icon">on</a>
566
+							</li>
567
+							<li class=" tsd-kind-method tsd-parent-kind-class">
568
+								<a href="_frontend_.rpcsocket.html#unhook" class="tsd-kind-icon">unhook</a>
569
+							</li>
570
+						</ul>
571
+					</li>
572
+				</ul>
573
+				<ul class="after-current">
574
+					<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
575
+						<a href="../modules/_frontend_.html#stripafterequals" class="tsd-kind-icon">strip<wbr>After<wbr>Equals</a>
576
+					</li>
577
+				</ul>
578
+			</nav>
579
+		</div>
580
+	</div>
581
+</div>
582
+<footer class="with-border-bottom">
583
+	<div class="container">
584
+		<h2>Legend</h2>
585
+		<div class="tsd-legend-group">
586
+			<ul class="tsd-legend">
587
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
588
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
589
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
590
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
591
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
592
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
593
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
594
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
595
+			</ul>
596
+			<ul class="tsd-legend">
597
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
598
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
599
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
600
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
601
+			</ul>
602
+			<ul class="tsd-legend">
603
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
604
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
605
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
606
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
607
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
608
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
609
+			</ul>
610
+			<ul class="tsd-legend">
611
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
612
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
613
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
614
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
615
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
616
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
617
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
618
+			</ul>
619
+			<ul class="tsd-legend">
620
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
621
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
622
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
623
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
624
+			</ul>
625
+			<ul class="tsd-legend">
626
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
627
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
628
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
629
+			</ul>
630
+			<ul class="tsd-legend">
631
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
632
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
633
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
634
+			</ul>
635
+			<ul class="tsd-legend">
636
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
637
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
638
+			</ul>
639
+		</div>
640
+	</div>
641
+</footer>
642
+<div class="container tsd-generator">
643
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
644
+</div>
645
+<div class="overlay"></div>
646
+<script src="../assets/js/main.js"></script>
647
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
648
+</body>
649
+</html>

+ 181
- 0
docs/index.html Visa fil

@@ -0,0 +1,181 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="assets/js/search.js" data-base=".">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="index.html">Globals</a>
57
+				</li>
58
+			</ul>
59
+			<h1> rpclibrary</h1>
60
+		</div>
61
+	</div>
62
+</header>
63
+<div class="container container-main">
64
+	<div class="row">
65
+		<div class="col-8 col-content">
66
+			<section class="tsd-panel-group tsd-index-group">
67
+				<h2>Index</h2>
68
+				<section class="tsd-panel tsd-index-panel">
69
+					<div class="tsd-index-content">
70
+						<section class="tsd-index-section ">
71
+							<h3>External modules</h3>
72
+							<ul class="tsd-index-list">
73
+								<li class="tsd-kind-external-module"><a href="modules/_backend_.html" class="tsd-kind-icon">"<wbr>Backend"</a></li>
74
+								<li class="tsd-kind-external-module"><a href="modules/_frontend_.html" class="tsd-kind-icon">"<wbr>Frontend"</a></li>
75
+								<li class="tsd-kind-external-module"><a href="modules/_interfaces_.html" class="tsd-kind-icon">"<wbr>Interfaces"</a></li>
76
+								<li class="tsd-kind-external-module"><a href="modules/_types_.html" class="tsd-kind-icon">"<wbr>Types"</a></li>
77
+								<li class="tsd-kind-external-module"><a href="modules/_utils_.html" class="tsd-kind-icon">"<wbr>Utils"</a></li>
78
+							</ul>
79
+						</section>
80
+					</div>
81
+				</section>
82
+			</section>
83
+		</div>
84
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
85
+			<nav class="tsd-navigation primary">
86
+				<ul>
87
+					<li class="globals current ">
88
+						<a href="index.html"><em>Globals</em></a>
89
+					</li>
90
+					<li class=" tsd-kind-external-module">
91
+						<a href="modules/_backend_.html">"<wbr>Backend"</a>
92
+					</li>
93
+					<li class=" tsd-kind-external-module">
94
+						<a href="modules/_frontend_.html">"<wbr>Frontend"</a>
95
+					</li>
96
+					<li class=" tsd-kind-external-module">
97
+						<a href="modules/_interfaces_.html">"<wbr>Interfaces"</a>
98
+					</li>
99
+					<li class=" tsd-kind-external-module">
100
+						<a href="modules/_types_.html">"<wbr>Types"</a>
101
+					</li>
102
+					<li class=" tsd-kind-external-module">
103
+						<a href="modules/_utils_.html">"<wbr>Utils"</a>
104
+					</li>
105
+				</ul>
106
+			</nav>
107
+			<nav class="tsd-navigation secondary menu-sticky">
108
+				<ul class="before-current">
109
+				</ul>
110
+			</nav>
111
+		</div>
112
+	</div>
113
+</div>
114
+<footer class="with-border-bottom">
115
+	<div class="container">
116
+		<h2>Legend</h2>
117
+		<div class="tsd-legend-group">
118
+			<ul class="tsd-legend">
119
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
120
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
121
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
122
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
123
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
124
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
125
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
126
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
127
+			</ul>
128
+			<ul class="tsd-legend">
129
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
130
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
131
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
132
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
133
+			</ul>
134
+			<ul class="tsd-legend">
135
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
136
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
137
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
138
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
139
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
140
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
141
+			</ul>
142
+			<ul class="tsd-legend">
143
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
144
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
145
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
146
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
147
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
148
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
149
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
150
+			</ul>
151
+			<ul class="tsd-legend">
152
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
153
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
154
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
155
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
156
+			</ul>
157
+			<ul class="tsd-legend">
158
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
159
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
160
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
161
+			</ul>
162
+			<ul class="tsd-legend">
163
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
164
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
165
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
166
+			</ul>
167
+			<ul class="tsd-legend">
168
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
169
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
170
+			</ul>
171
+		</div>
172
+	</div>
173
+</footer>
174
+<div class="container tsd-generator">
175
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
176
+</div>
177
+<div class="overlay"></div>
178
+<script src="assets/js/main.js"></script>
179
+<script>if (location.protocol == 'file:') document.write('<script src="assets/js/search.js"><' + '/script>');</script>
180
+</body>
181
+</html>

+ 240
- 0
docs/interfaces/_interfaces_.destroyable.html Visa fil

@@ -0,0 +1,240 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>Destroyable | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="../modules/_interfaces_.html">&quot;Interfaces&quot;</a>
60
+				</li>
61
+				<li>
62
+					<a href="_interfaces_.destroyable.html">Destroyable</a>
63
+				</li>
64
+			</ul>
65
+			<h1>Interface Destroyable</h1>
66
+		</div>
67
+	</div>
68
+</header>
69
+<div class="container container-main">
70
+	<div class="row">
71
+		<div class="col-8 col-content">
72
+			<section class="tsd-panel tsd-hierarchy">
73
+				<h3>Hierarchy</h3>
74
+				<ul class="tsd-hierarchy">
75
+					<li>
76
+						<span class="target">Destroyable</span>
77
+						<ul class="tsd-hierarchy">
78
+							<li>
79
+								<a href="_interfaces_.socket.html" class="tsd-signature-type">Socket</a>
80
+							</li>
81
+						</ul>
82
+					</li>
83
+				</ul>
84
+			</section>
85
+			<section class="tsd-panel">
86
+				<h3>Implemented by</h3>
87
+				<ul class="tsd-hierarchy">
88
+					<li><a href="../classes/_backend_.rpcserver.html" class="tsd-signature-type">RPCServer</a></li>
89
+				</ul>
90
+			</section>
91
+			<section class="tsd-panel-group tsd-index-group">
92
+				<h2>Index</h2>
93
+				<section class="tsd-panel tsd-index-panel">
94
+					<div class="tsd-index-content">
95
+						<section class="tsd-index-section ">
96
+							<h3>Methods</h3>
97
+							<ul class="tsd-index-list">
98
+								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_interfaces_.destroyable.html#destroy" class="tsd-kind-icon">destroy</a></li>
99
+							</ul>
100
+						</section>
101
+					</div>
102
+				</section>
103
+			</section>
104
+			<section class="tsd-panel-group tsd-member-group ">
105
+				<h2>Methods</h2>
106
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
107
+					<a name="destroy" class="tsd-anchor"></a>
108
+					<h3>destroy</h3>
109
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
110
+						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
111
+					</ul>
112
+					<ul class="tsd-descriptions">
113
+						<li class="tsd-description">
114
+							<aside class="tsd-sources">
115
+								<ul>
116
+									<li>Defined in Interfaces.ts:20</li>
117
+								</ul>
118
+							</aside>
119
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
120
+						</li>
121
+					</ul>
122
+				</section>
123
+			</section>
124
+		</div>
125
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
126
+			<nav class="tsd-navigation primary">
127
+				<ul>
128
+					<li class="globals  ">
129
+						<a href="../index.html"><em>Globals</em></a>
130
+					</li>
131
+					<li class=" tsd-kind-external-module">
132
+						<a href="../modules/_backend_.html">"<wbr>Backend"</a>
133
+					</li>
134
+					<li class=" tsd-kind-external-module">
135
+						<a href="../modules/_frontend_.html">"<wbr>Frontend"</a>
136
+					</li>
137
+					<li class="current tsd-kind-external-module">
138
+						<a href="../modules/_interfaces_.html">"<wbr>Interfaces"</a>
139
+					</li>
140
+					<li class=" tsd-kind-external-module">
141
+						<a href="../modules/_types_.html">"<wbr>Types"</a>
142
+					</li>
143
+					<li class=" tsd-kind-external-module">
144
+						<a href="../modules/_utils_.html">"<wbr>Utils"</a>
145
+					</li>
146
+				</ul>
147
+			</nav>
148
+			<nav class="tsd-navigation secondary menu-sticky">
149
+				<ul class="before-current">
150
+				</ul>
151
+				<ul class="current">
152
+					<li class="current tsd-kind-interface tsd-parent-kind-external-module">
153
+						<a href="_interfaces_.destroyable.html" class="tsd-kind-icon">Destroyable</a>
154
+						<ul>
155
+							<li class=" tsd-kind-method tsd-parent-kind-interface">
156
+								<a href="_interfaces_.destroyable.html#destroy" class="tsd-kind-icon">destroy</a>
157
+							</li>
158
+						</ul>
159
+					</li>
160
+				</ul>
161
+				<ul class="after-current">
162
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter">
163
+						<a href="_interfaces_.exporter.html" class="tsd-kind-icon">Exporter</a>
164
+					</li>
165
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
166
+						<a href="_interfaces_.socket.html" class="tsd-kind-icon">Socket</a>
167
+					</li>
168
+				</ul>
169
+			</nav>
170
+		</div>
171
+	</div>
172
+</div>
173
+<footer class="with-border-bottom">
174
+	<div class="container">
175
+		<h2>Legend</h2>
176
+		<div class="tsd-legend-group">
177
+			<ul class="tsd-legend">
178
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
179
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
180
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
181
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
182
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
183
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
184
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
185
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
186
+			</ul>
187
+			<ul class="tsd-legend">
188
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
189
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
190
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
191
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
192
+			</ul>
193
+			<ul class="tsd-legend">
194
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
195
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
196
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
197
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
198
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
199
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
200
+			</ul>
201
+			<ul class="tsd-legend">
202
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
203
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
204
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
205
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
206
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
207
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
208
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
209
+			</ul>
210
+			<ul class="tsd-legend">
211
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
212
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
213
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
214
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
215
+			</ul>
216
+			<ul class="tsd-legend">
217
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
218
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
219
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
220
+			</ul>
221
+			<ul class="tsd-legend">
222
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
223
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
224
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
225
+			</ul>
226
+			<ul class="tsd-legend">
227
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
228
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
229
+			</ul>
230
+		</div>
231
+	</div>
232
+</footer>
233
+<div class="container tsd-generator">
234
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
235
+</div>
236
+<div class="overlay"></div>
237
+<script src="../assets/js/main.js"></script>
238
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
239
+</body>
240
+</html>

+ 259
- 0
docs/interfaces/_interfaces_.exporter.html Visa fil

@@ -0,0 +1,259 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>Exporter | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="../modules/_interfaces_.html">&quot;Interfaces&quot;</a>
60
+				</li>
61
+				<li>
62
+					<a href="_interfaces_.exporter.html">Exporter</a>
63
+				</li>
64
+			</ul>
65
+			<h1>Interface Exporter&lt;T&gt;</h1>
66
+		</div>
67
+	</div>
68
+</header>
69
+<div class="container container-main">
70
+	<div class="row">
71
+		<div class="col-8 col-content">
72
+			<section class="tsd-panel tsd-type-parameters">
73
+				<h3>Type parameters</h3>
74
+				<ul class="tsd-type-parameters">
75
+					<li>
76
+						<h4>T</h4>
77
+					</li>
78
+				</ul>
79
+			</section>
80
+			<section class="tsd-panel tsd-hierarchy">
81
+				<h3>Hierarchy</h3>
82
+				<ul class="tsd-hierarchy">
83
+					<li>
84
+						<span class="target">Exporter</span>
85
+					</li>
86
+				</ul>
87
+			</section>
88
+			<section class="tsd-panel-group tsd-index-group">
89
+				<h2>Index</h2>
90
+				<section class="tsd-panel tsd-index-panel">
91
+					<div class="tsd-index-content">
92
+						<section class="tsd-index-section ">
93
+							<h3>Properties</h3>
94
+							<ul class="tsd-index-list">
95
+								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_interfaces_.exporter.html#name" class="tsd-kind-icon">name</a></li>
96
+							</ul>
97
+						</section>
98
+						<section class="tsd-index-section ">
99
+							<h3>Methods</h3>
100
+							<ul class="tsd-index-list">
101
+								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_interfaces_.exporter.html#exportrpcs" class="tsd-kind-icon">exportRPCs</a></li>
102
+							</ul>
103
+						</section>
104
+					</div>
105
+				</section>
106
+			</section>
107
+			<section class="tsd-panel-group tsd-member-group ">
108
+				<h2>Properties</h2>
109
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
110
+					<a name="name" class="tsd-anchor"></a>
111
+					<h3>name</h3>
112
+					<div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T.Name</span></div>
113
+					<aside class="tsd-sources">
114
+						<ul>
115
+							<li>Defined in Interfaces.ts:5</li>
116
+						</ul>
117
+					</aside>
118
+				</section>
119
+			</section>
120
+			<section class="tsd-panel-group tsd-member-group ">
121
+				<h2>Methods</h2>
122
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
123
+					<a name="exportrpcs" class="tsd-anchor"></a>
124
+					<h3>exportRPCs</h3>
125
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
126
+						<li class="tsd-signature tsd-kind-icon">exportRPCs<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.RPC</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></li>
127
+					</ul>
128
+					<ul class="tsd-descriptions">
129
+						<li class="tsd-description">
130
+							<aside class="tsd-sources">
131
+								<ul>
132
+									<li>Defined in Interfaces.ts:6</li>
133
+								</ul>
134
+							</aside>
135
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T.RPC</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></h4>
136
+						</li>
137
+					</ul>
138
+				</section>
139
+			</section>
140
+		</div>
141
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
142
+			<nav class="tsd-navigation primary">
143
+				<ul>
144
+					<li class="globals  ">
145
+						<a href="../index.html"><em>Globals</em></a>
146
+					</li>
147
+					<li class=" tsd-kind-external-module">
148
+						<a href="../modules/_backend_.html">"<wbr>Backend"</a>
149
+					</li>
150
+					<li class=" tsd-kind-external-module">
151
+						<a href="../modules/_frontend_.html">"<wbr>Frontend"</a>
152
+					</li>
153
+					<li class="current tsd-kind-external-module">
154
+						<a href="../modules/_interfaces_.html">"<wbr>Interfaces"</a>
155
+					</li>
156
+					<li class=" tsd-kind-external-module">
157
+						<a href="../modules/_types_.html">"<wbr>Types"</a>
158
+					</li>
159
+					<li class=" tsd-kind-external-module">
160
+						<a href="../modules/_utils_.html">"<wbr>Utils"</a>
161
+					</li>
162
+				</ul>
163
+			</nav>
164
+			<nav class="tsd-navigation secondary menu-sticky">
165
+				<ul class="before-current">
166
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
167
+						<a href="_interfaces_.destroyable.html" class="tsd-kind-icon">Destroyable</a>
168
+					</li>
169
+				</ul>
170
+				<ul class="current">
171
+					<li class="current tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter">
172
+						<a href="_interfaces_.exporter.html" class="tsd-kind-icon">Exporter</a>
173
+						<ul>
174
+							<li class=" tsd-kind-property tsd-parent-kind-interface">
175
+								<a href="_interfaces_.exporter.html#name" class="tsd-kind-icon">name</a>
176
+							</li>
177
+							<li class=" tsd-kind-method tsd-parent-kind-interface">
178
+								<a href="_interfaces_.exporter.html#exportrpcs" class="tsd-kind-icon">exportRPCs</a>
179
+							</li>
180
+						</ul>
181
+					</li>
182
+				</ul>
183
+				<ul class="after-current">
184
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
185
+						<a href="_interfaces_.socket.html" class="tsd-kind-icon">Socket</a>
186
+					</li>
187
+				</ul>
188
+			</nav>
189
+		</div>
190
+	</div>
191
+</div>
192
+<footer class="with-border-bottom">
193
+	<div class="container">
194
+		<h2>Legend</h2>
195
+		<div class="tsd-legend-group">
196
+			<ul class="tsd-legend">
197
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
198
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
199
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
200
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
201
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
202
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
203
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
204
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
205
+			</ul>
206
+			<ul class="tsd-legend">
207
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
208
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
209
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
210
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
211
+			</ul>
212
+			<ul class="tsd-legend">
213
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
214
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
215
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
216
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
217
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
218
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
219
+			</ul>
220
+			<ul class="tsd-legend">
221
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
222
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
223
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
224
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
225
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
226
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
227
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
228
+			</ul>
229
+			<ul class="tsd-legend">
230
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
231
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
232
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
233
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
234
+			</ul>
235
+			<ul class="tsd-legend">
236
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
237
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
238
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
239
+			</ul>
240
+			<ul class="tsd-legend">
241
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
242
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
243
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
244
+			</ul>
245
+			<ul class="tsd-legend">
246
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
247
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
248
+			</ul>
249
+		</div>
250
+	</div>
251
+</footer>
252
+<div class="container tsd-generator">
253
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
254
+</div>
255
+<div class="overlay"></div>
256
+<script src="../assets/js/main.js"></script>
257
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
258
+</body>
259
+</html>

+ 468
- 0
docs/interfaces/_interfaces_.socket.html Visa fil

@@ -0,0 +1,468 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>Socket | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="../modules/_interfaces_.html">&quot;Interfaces&quot;</a>
60
+				</li>
61
+				<li>
62
+					<a href="_interfaces_.socket.html">Socket</a>
63
+				</li>
64
+			</ul>
65
+			<h1>Interface Socket</h1>
66
+		</div>
67
+	</div>
68
+</header>
69
+<div class="container container-main">
70
+	<div class="row">
71
+		<div class="col-8 col-content">
72
+			<section class="tsd-panel tsd-hierarchy">
73
+				<h3>Hierarchy</h3>
74
+				<ul class="tsd-hierarchy">
75
+					<li>
76
+						<a href="_interfaces_.destroyable.html" class="tsd-signature-type">Destroyable</a>
77
+						<ul class="tsd-hierarchy">
78
+							<li>
79
+								<span class="target">Socket</span>
80
+							</li>
81
+						</ul>
82
+					</li>
83
+				</ul>
84
+			</section>
85
+			<section class="tsd-panel">
86
+				<h3>Implemented by</h3>
87
+				<ul class="tsd-hierarchy">
88
+					<li><a href="../classes/_frontend_.rpcsocket.html" class="tsd-signature-type">RPCSocket</a></li>
89
+				</ul>
90
+			</section>
91
+			<section class="tsd-panel-group tsd-index-group">
92
+				<h2>Index</h2>
93
+				<section class="tsd-panel tsd-index-panel">
94
+					<div class="tsd-index-content">
95
+						<section class="tsd-index-section ">
96
+							<h3>Properties</h3>
97
+							<ul class="tsd-index-list">
98
+								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_interfaces_.socket.html#call" class="tsd-kind-icon">call</a></li>
99
+								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_interfaces_.socket.html#fire" class="tsd-kind-icon">fire</a></li>
100
+								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_interfaces_.socket.html#hook" class="tsd-kind-icon">hook</a></li>
101
+								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_interfaces_.socket.html#on" class="tsd-kind-icon">on</a></li>
102
+								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_interfaces_.socket.html#port" class="tsd-kind-icon">port</a></li>
103
+								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_interfaces_.socket.html#unhook" class="tsd-kind-icon">unhook</a></li>
104
+							</ul>
105
+						</section>
106
+						<section class="tsd-index-section ">
107
+							<h3>Methods</h3>
108
+							<ul class="tsd-index-list">
109
+								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_interfaces_.socket.html#close" class="tsd-kind-icon">close</a></li>
110
+								<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="_interfaces_.socket.html#destroy" class="tsd-kind-icon">destroy</a></li>
111
+							</ul>
112
+						</section>
113
+					</div>
114
+				</section>
115
+			</section>
116
+			<section class="tsd-panel-group tsd-member-group ">
117
+				<h2>Properties</h2>
118
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
119
+					<a name="call" class="tsd-anchor"></a>
120
+					<h3>call</h3>
121
+					<div class="tsd-signature tsd-kind-icon">call<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
122
+					<aside class="tsd-sources">
123
+						<ul>
124
+							<li>Defined in Interfaces.ts:13</li>
125
+						</ul>
126
+					</aside>
127
+					<div class="tsd-type-declaration">
128
+						<h4>Type declaration</h4>
129
+						<ul class="tsd-parameters">
130
+							<li class="tsd-parameter-siganture">
131
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported">
132
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>rpcname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></li>
133
+								</ul>
134
+								<ul class="tsd-descriptions">
135
+									<li class="tsd-description">
136
+										<h4 class="tsd-parameters-title">Parameters</h4>
137
+										<ul class="tsd-parameters">
138
+											<li>
139
+												<h5>rpcname: <span class="tsd-signature-type">T.Name</span></h5>
140
+											</li>
141
+											<li>
142
+												<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span></h5>
143
+											</li>
144
+										</ul>
145
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></h4>
146
+									</li>
147
+								</ul>
148
+							</li>
149
+						</ul>
150
+					</div>
151
+				</section>
152
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
153
+					<a name="fire" class="tsd-anchor"></a>
154
+					<h3>fire</h3>
155
+					<div class="tsd-signature tsd-kind-icon">fire<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
156
+					<aside class="tsd-sources">
157
+						<ul>
158
+							<li>Defined in Interfaces.ts:14</li>
159
+						</ul>
160
+					</aside>
161
+					<div class="tsd-type-declaration">
162
+						<h4>Type declaration</h4>
163
+						<ul class="tsd-parameters">
164
+							<li class="tsd-parameter-siganture">
165
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported">
166
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>rpcname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></li>
167
+								</ul>
168
+								<ul class="tsd-descriptions">
169
+									<li class="tsd-description">
170
+										<h4 class="tsd-parameters-title">Parameters</h4>
171
+										<ul class="tsd-parameters">
172
+											<li>
173
+												<h5>rpcname: <span class="tsd-signature-type">T.Name</span></h5>
174
+											</li>
175
+											<li>
176
+												<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">[]</span></h5>
177
+											</li>
178
+										</ul>
179
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T.Any</span><span class="tsd-signature-symbol">&gt;</span></h4>
180
+									</li>
181
+								</ul>
182
+							</li>
183
+						</ul>
184
+					</div>
185
+				</section>
186
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
187
+					<a name="hook" class="tsd-anchor"></a>
188
+					<h3>hook</h3>
189
+					<div class="tsd-signature tsd-kind-icon">hook<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
190
+					<aside class="tsd-sources">
191
+						<ul>
192
+							<li>Defined in Interfaces.ts:11</li>
193
+						</ul>
194
+					</aside>
195
+					<div class="tsd-type-declaration">
196
+						<h4>Type declaration</h4>
197
+						<ul class="tsd-parameters">
198
+							<li class="tsd-parameter-siganture">
199
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported">
200
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>rpcname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span>, handler<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_interfaces_.socket.html" class="tsd-signature-type">Socket</a></li>
201
+								</ul>
202
+								<ul class="tsd-descriptions">
203
+									<li class="tsd-description">
204
+										<h4 class="tsd-parameters-title">Parameters</h4>
205
+										<ul class="tsd-parameters">
206
+											<li>
207
+												<h5>rpcname: <span class="tsd-signature-type">T.Name</span></h5>
208
+											</li>
209
+											<li>
210
+												<h5>handler: <span class="tsd-signature-type">function</span></h5>
211
+												<ul class="tsd-parameters">
212
+													<li class="tsd-parameter-siganture">
213
+														<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
214
+															<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
215
+														</ul>
216
+														<ul class="tsd-descriptions">
217
+															<li class="tsd-description">
218
+																<h4 class="tsd-parameters-title">Parameters</h4>
219
+																<ul class="tsd-parameters">
220
+																	<li>
221
+																		<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
222
+																	</li>
223
+																</ul>
224
+																<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span>
225
+																	<span class="tsd-signature-symbol"> | </span>
226
+																	<span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span>
227
+																</h4>
228
+															</li>
229
+														</ul>
230
+													</li>
231
+												</ul>
232
+											</li>
233
+										</ul>
234
+										<h4 class="tsd-returns-title">Returns <a href="_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h4>
235
+									</li>
236
+								</ul>
237
+							</li>
238
+						</ul>
239
+					</div>
240
+				</section>
241
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
242
+					<a name="on" class="tsd-anchor"></a>
243
+					<h3>on</h3>
244
+					<div class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T.OnFunction</span></div>
245
+					<aside class="tsd-sources">
246
+						<ul>
247
+							<li>Defined in Interfaces.ts:15</li>
248
+						</ul>
249
+					</aside>
250
+				</section>
251
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
252
+					<a name="port" class="tsd-anchor"></a>
253
+					<h3>port</h3>
254
+					<div class="tsd-signature tsd-kind-icon">port<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
255
+					<aside class="tsd-sources">
256
+						<ul>
257
+							<li>Defined in Interfaces.ts:10</li>
258
+						</ul>
259
+					</aside>
260
+				</section>
261
+				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
262
+					<a name="unhook" class="tsd-anchor"></a>
263
+					<h3>unhook</h3>
264
+					<div class="tsd-signature tsd-kind-icon">unhook<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
265
+					<aside class="tsd-sources">
266
+						<ul>
267
+							<li>Defined in Interfaces.ts:12</li>
268
+						</ul>
269
+					</aside>
270
+					<div class="tsd-type-declaration">
271
+						<h4>Type declaration</h4>
272
+						<ul class="tsd-parameters">
273
+							<li class="tsd-parameter-siganture">
274
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported">
275
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>rpcname<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_interfaces_.socket.html" class="tsd-signature-type">Socket</a></li>
276
+								</ul>
277
+								<ul class="tsd-descriptions">
278
+									<li class="tsd-description">
279
+										<h4 class="tsd-parameters-title">Parameters</h4>
280
+										<ul class="tsd-parameters">
281
+											<li>
282
+												<h5>rpcname: <span class="tsd-signature-type">T.Name</span></h5>
283
+											</li>
284
+										</ul>
285
+										<h4 class="tsd-returns-title">Returns <a href="_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h4>
286
+									</li>
287
+								</ul>
288
+							</li>
289
+						</ul>
290
+					</div>
291
+				</section>
292
+			</section>
293
+			<section class="tsd-panel-group tsd-member-group ">
294
+				<h2>Methods</h2>
295
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
296
+					<a name="close" class="tsd-anchor"></a>
297
+					<h3>close</h3>
298
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
299
+						<li class="tsd-signature tsd-kind-icon">close<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
300
+					</ul>
301
+					<ul class="tsd-descriptions">
302
+						<li class="tsd-description">
303
+							<aside class="tsd-sources">
304
+								<ul>
305
+									<li>Defined in Interfaces.ts:16</li>
306
+								</ul>
307
+							</aside>
308
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
309
+						</li>
310
+					</ul>
311
+				</section>
312
+				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
313
+					<a name="destroy" class="tsd-anchor"></a>
314
+					<h3>destroy</h3>
315
+					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
316
+						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
317
+					</ul>
318
+					<ul class="tsd-descriptions">
319
+						<li class="tsd-description">
320
+							<aside class="tsd-sources">
321
+								<p>Inherited from <a href="_interfaces_.destroyable.html">Destroyable</a>.<a href="_interfaces_.destroyable.html#destroy">destroy</a></p>
322
+								<ul>
323
+									<li>Defined in Interfaces.ts:20</li>
324
+								</ul>
325
+							</aside>
326
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
327
+						</li>
328
+					</ul>
329
+				</section>
330
+			</section>
331
+		</div>
332
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
333
+			<nav class="tsd-navigation primary">
334
+				<ul>
335
+					<li class="globals  ">
336
+						<a href="../index.html"><em>Globals</em></a>
337
+					</li>
338
+					<li class=" tsd-kind-external-module">
339
+						<a href="../modules/_backend_.html">"<wbr>Backend"</a>
340
+					</li>
341
+					<li class=" tsd-kind-external-module">
342
+						<a href="../modules/_frontend_.html">"<wbr>Frontend"</a>
343
+					</li>
344
+					<li class="current tsd-kind-external-module">
345
+						<a href="../modules/_interfaces_.html">"<wbr>Interfaces"</a>
346
+					</li>
347
+					<li class=" tsd-kind-external-module">
348
+						<a href="../modules/_types_.html">"<wbr>Types"</a>
349
+					</li>
350
+					<li class=" tsd-kind-external-module">
351
+						<a href="../modules/_utils_.html">"<wbr>Utils"</a>
352
+					</li>
353
+				</ul>
354
+			</nav>
355
+			<nav class="tsd-navigation secondary menu-sticky">
356
+				<ul class="before-current">
357
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
358
+						<a href="_interfaces_.destroyable.html" class="tsd-kind-icon">Destroyable</a>
359
+					</li>
360
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter">
361
+						<a href="_interfaces_.exporter.html" class="tsd-kind-icon">Exporter</a>
362
+					</li>
363
+				</ul>
364
+				<ul class="current">
365
+					<li class="current tsd-kind-interface tsd-parent-kind-external-module">
366
+						<a href="_interfaces_.socket.html" class="tsd-kind-icon">Socket</a>
367
+						<ul>
368
+							<li class=" tsd-kind-property tsd-parent-kind-interface">
369
+								<a href="_interfaces_.socket.html#call" class="tsd-kind-icon">call</a>
370
+							</li>
371
+							<li class=" tsd-kind-property tsd-parent-kind-interface">
372
+								<a href="_interfaces_.socket.html#fire" class="tsd-kind-icon">fire</a>
373
+							</li>
374
+							<li class=" tsd-kind-property tsd-parent-kind-interface">
375
+								<a href="_interfaces_.socket.html#hook" class="tsd-kind-icon">hook</a>
376
+							</li>
377
+							<li class=" tsd-kind-property tsd-parent-kind-interface">
378
+								<a href="_interfaces_.socket.html#on" class="tsd-kind-icon">on</a>
379
+							</li>
380
+							<li class=" tsd-kind-property tsd-parent-kind-interface">
381
+								<a href="_interfaces_.socket.html#port" class="tsd-kind-icon">port</a>
382
+							</li>
383
+							<li class=" tsd-kind-property tsd-parent-kind-interface">
384
+								<a href="_interfaces_.socket.html#unhook" class="tsd-kind-icon">unhook</a>
385
+							</li>
386
+							<li class=" tsd-kind-method tsd-parent-kind-interface">
387
+								<a href="_interfaces_.socket.html#close" class="tsd-kind-icon">close</a>
388
+							</li>
389
+							<li class=" tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
390
+								<a href="_interfaces_.socket.html#destroy" class="tsd-kind-icon">destroy</a>
391
+							</li>
392
+						</ul>
393
+					</li>
394
+				</ul>
395
+				<ul class="after-current">
396
+				</ul>
397
+			</nav>
398
+		</div>
399
+	</div>
400
+</div>
401
+<footer class="with-border-bottom">
402
+	<div class="container">
403
+		<h2>Legend</h2>
404
+		<div class="tsd-legend-group">
405
+			<ul class="tsd-legend">
406
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
407
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
408
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
409
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
410
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
411
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
412
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
413
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
414
+			</ul>
415
+			<ul class="tsd-legend">
416
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
417
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
418
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
419
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
420
+			</ul>
421
+			<ul class="tsd-legend">
422
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
423
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
424
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
425
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
426
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
427
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
428
+			</ul>
429
+			<ul class="tsd-legend">
430
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
431
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
432
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
433
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
434
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
435
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
436
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
437
+			</ul>
438
+			<ul class="tsd-legend">
439
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
440
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
441
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
442
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
443
+			</ul>
444
+			<ul class="tsd-legend">
445
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
446
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
447
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
448
+			</ul>
449
+			<ul class="tsd-legend">
450
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
451
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
452
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
453
+			</ul>
454
+			<ul class="tsd-legend">
455
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
456
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
457
+			</ul>
458
+		</div>
459
+	</div>
460
+</footer>
461
+<div class="container tsd-generator">
462
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
463
+</div>
464
+<div class="overlay"></div>
465
+<script src="../assets/js/main.js"></script>
466
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
467
+</body>
468
+</html>

+ 183
- 0
docs/modules/_backend_.html Visa fil

@@ -0,0 +1,183 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>&quot;Backend&quot; | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="_backend_.html">&quot;Backend&quot;</a>
60
+				</li>
61
+			</ul>
62
+			<h1>External module &quot;Backend&quot;</h1>
63
+		</div>
64
+	</div>
65
+</header>
66
+<div class="container container-main">
67
+	<div class="row">
68
+		<div class="col-8 col-content">
69
+			<section class="tsd-panel-group tsd-index-group">
70
+				<h2>Index</h2>
71
+				<section class="tsd-panel tsd-index-panel">
72
+					<div class="tsd-index-content">
73
+						<section class="tsd-index-section ">
74
+							<h3>Classes</h3>
75
+							<ul class="tsd-index-list">
76
+								<li class="tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter"><a href="../classes/_backend_.rpcserver.html" class="tsd-kind-icon">RPCServer</a></li>
77
+							</ul>
78
+						</section>
79
+					</div>
80
+				</section>
81
+			</section>
82
+		</div>
83
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
84
+			<nav class="tsd-navigation primary">
85
+				<ul>
86
+					<li class="globals  ">
87
+						<a href="../index.html"><em>Globals</em></a>
88
+					</li>
89
+					<li class="current tsd-kind-external-module">
90
+						<a href="_backend_.html">"<wbr>Backend"</a>
91
+					</li>
92
+					<li class=" tsd-kind-external-module">
93
+						<a href="_frontend_.html">"<wbr>Frontend"</a>
94
+					</li>
95
+					<li class=" tsd-kind-external-module">
96
+						<a href="_interfaces_.html">"<wbr>Interfaces"</a>
97
+					</li>
98
+					<li class=" tsd-kind-external-module">
99
+						<a href="_types_.html">"<wbr>Types"</a>
100
+					</li>
101
+					<li class=" tsd-kind-external-module">
102
+						<a href="_utils_.html">"<wbr>Utils"</a>
103
+					</li>
104
+				</ul>
105
+			</nav>
106
+			<nav class="tsd-navigation secondary menu-sticky">
107
+				<ul class="before-current">
108
+					<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter">
109
+						<a href="../classes/_backend_.rpcserver.html" class="tsd-kind-icon">RPCServer</a>
110
+					</li>
111
+				</ul>
112
+			</nav>
113
+		</div>
114
+	</div>
115
+</div>
116
+<footer class="with-border-bottom">
117
+	<div class="container">
118
+		<h2>Legend</h2>
119
+		<div class="tsd-legend-group">
120
+			<ul class="tsd-legend">
121
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
122
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
123
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
124
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
125
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
126
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
127
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
128
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
129
+			</ul>
130
+			<ul class="tsd-legend">
131
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
132
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
133
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
134
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
135
+			</ul>
136
+			<ul class="tsd-legend">
137
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
138
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
139
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
140
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
141
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
142
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
143
+			</ul>
144
+			<ul class="tsd-legend">
145
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
146
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
147
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
148
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
149
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
150
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
151
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
152
+			</ul>
153
+			<ul class="tsd-legend">
154
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
155
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
156
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
157
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
158
+			</ul>
159
+			<ul class="tsd-legend">
160
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
161
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
162
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
163
+			</ul>
164
+			<ul class="tsd-legend">
165
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
166
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
167
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
168
+			</ul>
169
+			<ul class="tsd-legend">
170
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
171
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
172
+			</ul>
173
+		</div>
174
+	</div>
175
+</footer>
176
+<div class="container tsd-generator">
177
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
178
+</div>
179
+<div class="overlay"></div>
180
+<script src="../assets/js/main.js"></script>
181
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
182
+</body>
183
+</html>

+ 218
- 0
docs/modules/_frontend_.html Visa fil

@@ -0,0 +1,218 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>&quot;Frontend&quot; | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="_frontend_.html">&quot;Frontend&quot;</a>
60
+				</li>
61
+			</ul>
62
+			<h1>External module &quot;Frontend&quot;</h1>
63
+		</div>
64
+	</div>
65
+</header>
66
+<div class="container container-main">
67
+	<div class="row">
68
+		<div class="col-8 col-content">
69
+			<section class="tsd-panel-group tsd-index-group">
70
+				<h2>Index</h2>
71
+				<section class="tsd-panel tsd-index-panel">
72
+					<div class="tsd-index-content">
73
+						<section class="tsd-index-section ">
74
+							<h3>Classes</h3>
75
+							<ul class="tsd-index-list">
76
+								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/_frontend_.rpcsocket.html" class="tsd-kind-icon">RPCSocket</a></li>
77
+							</ul>
78
+						</section>
79
+						<section class="tsd-index-section tsd-is-not-exported">
80
+							<h3>Functions</h3>
81
+							<ul class="tsd-index-list">
82
+								<li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_frontend_.html#stripafterequals" class="tsd-kind-icon">strip<wbr>After<wbr>Equals</a></li>
83
+							</ul>
84
+						</section>
85
+					</div>
86
+				</section>
87
+			</section>
88
+			<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
89
+				<h2>Functions</h2>
90
+				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
91
+					<a name="stripafterequals" class="tsd-anchor"></a>
92
+					<h3>strip<wbr>After<wbr>Equals</h3>
93
+					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
94
+						<li class="tsd-signature tsd-kind-icon">strip<wbr>After<wbr>Equals<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
95
+					</ul>
96
+					<ul class="tsd-descriptions">
97
+						<li class="tsd-description">
98
+							<aside class="tsd-sources">
99
+								<ul>
100
+									<li>Defined in Frontend.ts:9</li>
101
+								</ul>
102
+							</aside>
103
+							<h4 class="tsd-parameters-title">Parameters</h4>
104
+							<ul class="tsd-parameters">
105
+								<li>
106
+									<h5>str: <span class="tsd-signature-type">string</span></h5>
107
+								</li>
108
+							</ul>
109
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
110
+						</li>
111
+					</ul>
112
+				</section>
113
+			</section>
114
+		</div>
115
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
116
+			<nav class="tsd-navigation primary">
117
+				<ul>
118
+					<li class="globals  ">
119
+						<a href="../index.html"><em>Globals</em></a>
120
+					</li>
121
+					<li class=" tsd-kind-external-module">
122
+						<a href="_backend_.html">"<wbr>Backend"</a>
123
+					</li>
124
+					<li class="current tsd-kind-external-module">
125
+						<a href="_frontend_.html">"<wbr>Frontend"</a>
126
+					</li>
127
+					<li class=" tsd-kind-external-module">
128
+						<a href="_interfaces_.html">"<wbr>Interfaces"</a>
129
+					</li>
130
+					<li class=" tsd-kind-external-module">
131
+						<a href="_types_.html">"<wbr>Types"</a>
132
+					</li>
133
+					<li class=" tsd-kind-external-module">
134
+						<a href="_utils_.html">"<wbr>Utils"</a>
135
+					</li>
136
+				</ul>
137
+			</nav>
138
+			<nav class="tsd-navigation secondary menu-sticky">
139
+				<ul class="before-current">
140
+					<li class=" tsd-kind-class tsd-parent-kind-external-module">
141
+						<a href="../classes/_frontend_.rpcsocket.html" class="tsd-kind-icon">RPCSocket</a>
142
+					</li>
143
+					<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
144
+						<a href="_frontend_.html#stripafterequals" class="tsd-kind-icon">strip<wbr>After<wbr>Equals</a>
145
+					</li>
146
+				</ul>
147
+			</nav>
148
+		</div>
149
+	</div>
150
+</div>
151
+<footer class="with-border-bottom">
152
+	<div class="container">
153
+		<h2>Legend</h2>
154
+		<div class="tsd-legend-group">
155
+			<ul class="tsd-legend">
156
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
157
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
158
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
159
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
160
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
161
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
162
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
163
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
164
+			</ul>
165
+			<ul class="tsd-legend">
166
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
167
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
168
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
169
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
170
+			</ul>
171
+			<ul class="tsd-legend">
172
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
173
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
174
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
175
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
176
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
177
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
178
+			</ul>
179
+			<ul class="tsd-legend">
180
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
181
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
182
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
183
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
184
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
185
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
186
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
187
+			</ul>
188
+			<ul class="tsd-legend">
189
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
190
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
191
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
192
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
193
+			</ul>
194
+			<ul class="tsd-legend">
195
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
196
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
197
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
198
+			</ul>
199
+			<ul class="tsd-legend">
200
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
201
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
202
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
203
+			</ul>
204
+			<ul class="tsd-legend">
205
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
206
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
207
+			</ul>
208
+		</div>
209
+	</div>
210
+</footer>
211
+<div class="container tsd-generator">
212
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
213
+</div>
214
+<div class="overlay"></div>
215
+<script src="../assets/js/main.js"></script>
216
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
217
+</body>
218
+</html>

+ 191
- 0
docs/modules/_interfaces_.html Visa fil

@@ -0,0 +1,191 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>&quot;Interfaces&quot; | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="_interfaces_.html">&quot;Interfaces&quot;</a>
60
+				</li>
61
+			</ul>
62
+			<h1>External module &quot;Interfaces&quot;</h1>
63
+		</div>
64
+	</div>
65
+</header>
66
+<div class="container container-main">
67
+	<div class="row">
68
+		<div class="col-8 col-content">
69
+			<section class="tsd-panel-group tsd-index-group">
70
+				<h2>Index</h2>
71
+				<section class="tsd-panel tsd-index-panel">
72
+					<div class="tsd-index-content">
73
+						<section class="tsd-index-section ">
74
+							<h3>Interfaces</h3>
75
+							<ul class="tsd-index-list">
76
+								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/_interfaces_.destroyable.html" class="tsd-kind-icon">Destroyable</a></li>
77
+								<li class="tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter"><a href="../interfaces/_interfaces_.exporter.html" class="tsd-kind-icon">Exporter</a></li>
78
+								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/_interfaces_.socket.html" class="tsd-kind-icon">Socket</a></li>
79
+							</ul>
80
+						</section>
81
+					</div>
82
+				</section>
83
+			</section>
84
+		</div>
85
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
86
+			<nav class="tsd-navigation primary">
87
+				<ul>
88
+					<li class="globals  ">
89
+						<a href="../index.html"><em>Globals</em></a>
90
+					</li>
91
+					<li class=" tsd-kind-external-module">
92
+						<a href="_backend_.html">"<wbr>Backend"</a>
93
+					</li>
94
+					<li class=" tsd-kind-external-module">
95
+						<a href="_frontend_.html">"<wbr>Frontend"</a>
96
+					</li>
97
+					<li class="current tsd-kind-external-module">
98
+						<a href="_interfaces_.html">"<wbr>Interfaces"</a>
99
+					</li>
100
+					<li class=" tsd-kind-external-module">
101
+						<a href="_types_.html">"<wbr>Types"</a>
102
+					</li>
103
+					<li class=" tsd-kind-external-module">
104
+						<a href="_utils_.html">"<wbr>Utils"</a>
105
+					</li>
106
+				</ul>
107
+			</nav>
108
+			<nav class="tsd-navigation secondary menu-sticky">
109
+				<ul class="before-current">
110
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
111
+						<a href="../interfaces/_interfaces_.destroyable.html" class="tsd-kind-icon">Destroyable</a>
112
+					</li>
113
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter">
114
+						<a href="../interfaces/_interfaces_.exporter.html" class="tsd-kind-icon">Exporter</a>
115
+					</li>
116
+					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
117
+						<a href="../interfaces/_interfaces_.socket.html" class="tsd-kind-icon">Socket</a>
118
+					</li>
119
+				</ul>
120
+			</nav>
121
+		</div>
122
+	</div>
123
+</div>
124
+<footer class="with-border-bottom">
125
+	<div class="container">
126
+		<h2>Legend</h2>
127
+		<div class="tsd-legend-group">
128
+			<ul class="tsd-legend">
129
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
130
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
131
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
132
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
133
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
134
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
135
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
136
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
137
+			</ul>
138
+			<ul class="tsd-legend">
139
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
140
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
141
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
142
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
143
+			</ul>
144
+			<ul class="tsd-legend">
145
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
146
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
147
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
148
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
149
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
150
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
151
+			</ul>
152
+			<ul class="tsd-legend">
153
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
154
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
155
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
156
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
157
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
158
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
159
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
160
+			</ul>
161
+			<ul class="tsd-legend">
162
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
163
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
164
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
165
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
166
+			</ul>
167
+			<ul class="tsd-legend">
168
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
169
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
170
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
171
+			</ul>
172
+			<ul class="tsd-legend">
173
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
174
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
175
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
176
+			</ul>
177
+			<ul class="tsd-legend">
178
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
179
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
180
+			</ul>
181
+		</div>
182
+	</div>
183
+</footer>
184
+<div class="container tsd-generator">
185
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
186
+</div>
187
+<div class="overlay"></div>
188
+<script src="../assets/js/main.js"></script>
189
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
190
+</body>
191
+</html>

+ 885
- 0
docs/modules/_types_.html Visa fil

@@ -0,0 +1,885 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>&quot;Types&quot; | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="_types_.html">&quot;Types&quot;</a>
60
+				</li>
61
+			</ul>
62
+			<h1>External module &quot;Types&quot;</h1>
63
+		</div>
64
+	</div>
65
+</header>
66
+<div class="container container-main">
67
+	<div class="row">
68
+		<div class="col-8 col-content">
69
+			<section class="tsd-panel-group tsd-index-group">
70
+				<h2>Index</h2>
71
+				<section class="tsd-panel tsd-index-panel">
72
+					<div class="tsd-index-content">
73
+						<section class="tsd-index-section ">
74
+							<h3>Type aliases</h3>
75
+							<ul class="tsd-index-list">
76
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#any" class="tsd-kind-icon">Any</a></li>
77
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#arg" class="tsd-kind-icon">Arg</a></li>
78
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#asyncfunction" class="tsd-kind-icon">Async<wbr>Function</a></li>
79
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#baseinfo" class="tsd-kind-icon">Base<wbr>Info</a></li>
80
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#callinfo" class="tsd-kind-icon">Call<wbr>Info</a></li>
81
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#callrpc" class="tsd-kind-icon">CallRPC</a></li>
82
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#callbackfunction" class="tsd-kind-icon">Callback<wbr>Function</a></li>
83
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#closehandler" class="tsd-kind-icon">Close<wbr>Handler</a></li>
84
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#connectionhandler" class="tsd-kind-icon">Connection<wbr>Handler</a></li>
85
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#errorhandler" class="tsd-kind-icon">Error<wbr>Handler</a></li>
86
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#errorresponse" class="tsd-kind-icon">Error<wbr>Response</a></li>
87
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#extendedrpcinfo" class="tsd-kind-icon">Extended<wbr>Rpc<wbr>Info</a></li>
88
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#hookclosefunction" class="tsd-kind-icon">Hook<wbr>Close<wbr>Function</a></li>
89
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#hookfunction" class="tsd-kind-icon">Hook<wbr>Function</a></li>
90
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#hookinfo" class="tsd-kind-icon">Hook<wbr>Info</a></li>
91
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#hookrpc" class="tsd-kind-icon">HookRPC</a></li>
92
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#name-2" class="tsd-kind-icon">Name</a></li>
93
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#onfunction" class="tsd-kind-icon">On<wbr>Function</a></li>
94
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#outcome" class="tsd-kind-icon">Outcome</a></li>
95
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#owner-1" class="tsd-kind-icon">Owner</a></li>
96
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#rpc" class="tsd-kind-icon">RPC</a></li>
97
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#rpctype" class="tsd-kind-icon">RPCType</a></li>
98
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#responsetype" class="tsd-kind-icon">Response<wbr>Type</a></li>
99
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#respose" class="tsd-kind-icon">Respose</a></li>
100
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#rpcinfo" class="tsd-kind-icon">Rpc<wbr>Info</a></li>
101
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#socketconf" class="tsd-kind-icon">Socket<wbr>Conf</a></li>
102
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#subscriptionresponse" class="tsd-kind-icon">Subscription<wbr>Response</a></li>
103
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_types_.html#successresponse" class="tsd-kind-icon">Success<wbr>Response</a></li>
104
+								<li class="tsd-kind-type-alias tsd-parent-kind-external-module"><a href="_types_.html#visibility-1" class="tsd-kind-icon">Visibility</a></li>
105
+							</ul>
106
+						</section>
107
+					</div>
108
+				</section>
109
+			</section>
110
+			<section class="tsd-panel-group tsd-member-group ">
111
+				<h2>Type aliases</h2>
112
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
113
+					<a name="any" class="tsd-anchor"></a>
114
+					<h3>Any</h3>
115
+					<div class="tsd-signature tsd-kind-icon">Any<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
116
+					<aside class="tsd-sources">
117
+						<ul>
118
+							<li>Defined in Types.ts:4</li>
119
+						</ul>
120
+					</aside>
121
+				</section>
122
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
123
+					<a name="arg" class="tsd-anchor"></a>
124
+					<h3>Arg</h3>
125
+					<div class="tsd-signature tsd-kind-icon">Arg<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
126
+					<aside class="tsd-sources">
127
+						<ul>
128
+							<li>Defined in Types.ts:5</li>
129
+						</ul>
130
+					</aside>
131
+				</section>
132
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
133
+					<a name="asyncfunction" class="tsd-anchor"></a>
134
+					<h3>Async<wbr>Function</h3>
135
+					<div class="tsd-signature tsd-kind-icon">Async<wbr>Function<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
136
+					<aside class="tsd-sources">
137
+						<ul>
138
+							<li>Defined in Types.ts:65</li>
139
+						</ul>
140
+					</aside>
141
+					<div class="tsd-type-declaration">
142
+						<h4>Type declaration</h4>
143
+						<ul class="tsd-parameters">
144
+							<li class="tsd-parameter-siganture">
145
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
146
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
147
+								</ul>
148
+								<ul class="tsd-descriptions">
149
+									<li class="tsd-description">
150
+										<h4 class="tsd-parameters-title">Parameters</h4>
151
+										<ul class="tsd-parameters">
152
+											<li>
153
+												<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span></h5>
154
+											</li>
155
+										</ul>
156
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
157
+									</li>
158
+								</ul>
159
+							</li>
160
+						</ul>
161
+					</div>
162
+				</section>
163
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
164
+					<a name="baseinfo" class="tsd-anchor"></a>
165
+					<h3>Base<wbr>Info</h3>
166
+					<div class="tsd-signature tsd-kind-icon">Base<wbr>Info<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
167
+					<aside class="tsd-sources">
168
+						<ul>
169
+							<li>Defined in Types.ts:43</li>
170
+						</ul>
171
+					</aside>
172
+					<div class="tsd-type-declaration">
173
+						<h4>Type declaration</h4>
174
+						<ul class="tsd-parameters">
175
+							<li class="tsd-parameter">
176
+								<h5>arg<wbr>Names<span class="tsd-signature-symbol">: </span><a href="_types_.html#name-2" class="tsd-signature-type">Name</a><span class="tsd-signature-symbol">[]</span></h5>
177
+							</li>
178
+							<li class="tsd-parameter">
179
+								<h5>name<span class="tsd-signature-symbol">: </span><a href="_types_.html#name-2" class="tsd-signature-type">Name</a></h5>
180
+							</li>
181
+							<li class="tsd-parameter">
182
+								<h5>owner<span class="tsd-signature-symbol">: </span><a href="_types_.html#name-2" class="tsd-signature-type">Name</a></h5>
183
+							</li>
184
+						</ul>
185
+					</div>
186
+				</section>
187
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
188
+					<a name="callinfo" class="tsd-anchor"></a>
189
+					<h3>Call<wbr>Info</h3>
190
+					<div class="tsd-signature tsd-kind-icon">Call<wbr>Info<span class="tsd-signature-symbol">:</span> <a href="_types_.html#baseinfo" class="tsd-signature-type">BaseInfo</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">object</span></div>
191
+					<aside class="tsd-sources">
192
+						<ul>
193
+							<li>Defined in Types.ts:54</li>
194
+						</ul>
195
+					</aside>
196
+				</section>
197
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
198
+					<a name="callrpc" class="tsd-anchor"></a>
199
+					<h3>CallRPC</h3>
200
+					<div class="tsd-signature tsd-kind-icon">CallRPC<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Function</span></div>
201
+					<aside class="tsd-sources">
202
+						<ul>
203
+							<li>Defined in Types.ts:36</li>
204
+						</ul>
205
+					</aside>
206
+				</section>
207
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
208
+					<a name="callbackfunction" class="tsd-anchor"></a>
209
+					<h3>Callback<wbr>Function</h3>
210
+					<div class="tsd-signature tsd-kind-icon">Callback<wbr>Function<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
211
+					<aside class="tsd-sources">
212
+						<ul>
213
+							<li>Defined in Types.ts:66</li>
214
+						</ul>
215
+					</aside>
216
+					<div class="tsd-type-declaration">
217
+						<h4>Type declaration</h4>
218
+						<ul class="tsd-parameters">
219
+							<li class="tsd-parameter-siganture">
220
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
221
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
222
+								</ul>
223
+								<ul class="tsd-descriptions">
224
+									<li class="tsd-description">
225
+										<h4 class="tsd-parameters-title">Parameters</h4>
226
+										<ul class="tsd-parameters">
227
+											<li>
228
+												<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span></h5>
229
+											</li>
230
+										</ul>
231
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
232
+									</li>
233
+								</ul>
234
+							</li>
235
+						</ul>
236
+					</div>
237
+				</section>
238
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
239
+					<a name="closehandler" class="tsd-anchor"></a>
240
+					<h3>Close<wbr>Handler</h3>
241
+					<div class="tsd-signature tsd-kind-icon">Close<wbr>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
242
+					<aside class="tsd-sources">
243
+						<ul>
244
+							<li>Defined in Types.ts:10</li>
245
+						</ul>
246
+					</aside>
247
+					<div class="tsd-type-declaration">
248
+						<h4>Type declaration</h4>
249
+						<ul class="tsd-parameters">
250
+							<li class="tsd-parameter-siganture">
251
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
252
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>socket<span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
253
+								</ul>
254
+								<ul class="tsd-descriptions">
255
+									<li class="tsd-description">
256
+										<h4 class="tsd-parameters-title">Parameters</h4>
257
+										<ul class="tsd-parameters">
258
+											<li>
259
+												<h5>socket: <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h5>
260
+											</li>
261
+										</ul>
262
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
263
+									</li>
264
+								</ul>
265
+							</li>
266
+						</ul>
267
+					</div>
268
+				</section>
269
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
270
+					<a name="connectionhandler" class="tsd-anchor"></a>
271
+					<h3>Connection<wbr>Handler</h3>
272
+					<div class="tsd-signature tsd-kind-icon">Connection<wbr>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
273
+					<aside class="tsd-sources">
274
+						<ul>
275
+							<li>Defined in Types.ts:8</li>
276
+						</ul>
277
+					</aside>
278
+					<div class="tsd-type-declaration">
279
+						<h4>Type declaration</h4>
280
+						<ul class="tsd-parameters">
281
+							<li class="tsd-parameter-siganture">
282
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
283
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>socket<span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
284
+								</ul>
285
+								<ul class="tsd-descriptions">
286
+									<li class="tsd-description">
287
+										<h4 class="tsd-parameters-title">Parameters</h4>
288
+										<ul class="tsd-parameters">
289
+											<li>
290
+												<h5>socket: <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h5>
291
+											</li>
292
+										</ul>
293
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
294
+									</li>
295
+								</ul>
296
+							</li>
297
+						</ul>
298
+					</div>
299
+				</section>
300
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
301
+					<a name="errorhandler" class="tsd-anchor"></a>
302
+					<h3>Error<wbr>Handler</h3>
303
+					<div class="tsd-signature tsd-kind-icon">Error<wbr>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
304
+					<aside class="tsd-sources">
305
+						<ul>
306
+							<li>Defined in Types.ts:9</li>
307
+						</ul>
308
+					</aside>
309
+					<div class="tsd-type-declaration">
310
+						<h4>Type declaration</h4>
311
+						<ul class="tsd-parameters">
312
+							<li class="tsd-parameter-siganture">
313
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
314
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>socket<span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a>, error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
315
+								</ul>
316
+								<ul class="tsd-descriptions">
317
+									<li class="tsd-description">
318
+										<h4 class="tsd-parameters-title">Parameters</h4>
319
+										<ul class="tsd-parameters">
320
+											<li>
321
+												<h5>socket: <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h5>
322
+											</li>
323
+											<li>
324
+												<h5>error: <span class="tsd-signature-type">any</span></h5>
325
+											</li>
326
+										</ul>
327
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
328
+									</li>
329
+								</ul>
330
+							</li>
331
+						</ul>
332
+					</div>
333
+				</section>
334
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
335
+					<a name="errorresponse" class="tsd-anchor"></a>
336
+					<h3>Error<wbr>Response</h3>
337
+					<div class="tsd-signature tsd-kind-icon">Error<wbr>Response&lt;T&gt;<span class="tsd-signature-symbol">:</span> <a href="_types_.html#respose" class="tsd-signature-type">Respose</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">object</span></div>
338
+					<aside class="tsd-sources">
339
+						<ul>
340
+							<li>Defined in Types.ts:24</li>
341
+						</ul>
342
+					</aside>
343
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
344
+					<ul class="tsd-type-parameters">
345
+						<li>
346
+							<h4>T</h4>
347
+						</li>
348
+					</ul>
349
+				</section>
350
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
351
+					<a name="extendedrpcinfo" class="tsd-anchor"></a>
352
+					<h3>Extended<wbr>Rpc<wbr>Info</h3>
353
+					<div class="tsd-signature tsd-kind-icon">Extended<wbr>Rpc<wbr>Info<span class="tsd-signature-symbol">:</span> <a href="_types_.html#rpcinfo" class="tsd-signature-type">RpcInfo</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">object</span></div>
354
+					<aside class="tsd-sources">
355
+						<ul>
356
+							<li>Defined in Types.ts:60</li>
357
+						</ul>
358
+					</aside>
359
+				</section>
360
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
361
+					<a name="hookclosefunction" class="tsd-anchor"></a>
362
+					<h3>Hook<wbr>Close<wbr>Function</h3>
363
+					<div class="tsd-signature tsd-kind-icon">Hook<wbr>Close<wbr>Function&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
364
+					<aside class="tsd-sources">
365
+						<ul>
366
+							<li>Defined in Types.ts:63</li>
367
+						</ul>
368
+					</aside>
369
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
370
+					<ul class="tsd-type-parameters">
371
+						<li>
372
+							<h4>T</h4>
373
+						</li>
374
+					</ul>
375
+					<div class="tsd-type-declaration">
376
+						<h4>Type declaration</h4>
377
+						<ul class="tsd-parameters">
378
+							<li class="tsd-parameter-siganture">
379
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
380
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>res<span class="tsd-signature-symbol">: </span><a href="_types_.html#subscriptionresponse" class="tsd-signature-type">SubscriptionResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span>, rpc<span class="tsd-signature-symbol">: </span><a href="_types_.html#hookrpc" class="tsd-signature-type">HookRPC</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
381
+								</ul>
382
+								<ul class="tsd-descriptions">
383
+									<li class="tsd-description">
384
+										<h4 class="tsd-parameters-title">Parameters</h4>
385
+										<ul class="tsd-parameters">
386
+											<li>
387
+												<h5>res: <a href="_types_.html#subscriptionresponse" class="tsd-signature-type">SubscriptionResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h5>
388
+											</li>
389
+											<li>
390
+												<h5>rpc: <a href="_types_.html#hookrpc" class="tsd-signature-type">HookRPC</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h5>
391
+											</li>
392
+										</ul>
393
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
394
+									</li>
395
+								</ul>
396
+							</li>
397
+						</ul>
398
+					</div>
399
+				</section>
400
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
401
+					<a name="hookfunction" class="tsd-anchor"></a>
402
+					<h3>Hook<wbr>Function</h3>
403
+					<div class="tsd-signature tsd-kind-icon">Hook<wbr>Function&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
404
+					<aside class="tsd-sources">
405
+						<ul>
406
+							<li>Defined in Types.ts:64</li>
407
+						</ul>
408
+					</aside>
409
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
410
+					<ul class="tsd-type-parameters">
411
+						<li>
412
+							<h4>T</h4>
413
+						</li>
414
+					</ul>
415
+					<div class="tsd-type-declaration">
416
+						<h4>Type declaration</h4>
417
+						<ul class="tsd-parameters">
418
+							<li class="tsd-parameter-siganture">
419
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
420
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_types_.html#subscriptionresponse" class="tsd-signature-type">SubscriptionResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><a href="_types_.html#errorresponse" class="tsd-signature-type">ErrorResponse</a><span class="tsd-signature-symbol">&gt;</span></li>
421
+								</ul>
422
+								<ul class="tsd-descriptions">
423
+									<li class="tsd-description">
424
+										<h4 class="tsd-parameters-title">Parameters</h4>
425
+										<ul class="tsd-parameters">
426
+											<li>
427
+												<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span></h5>
428
+											</li>
429
+										</ul>
430
+										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_types_.html#subscriptionresponse" class="tsd-signature-type">SubscriptionResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><a href="_types_.html#errorresponse" class="tsd-signature-type">ErrorResponse</a><span class="tsd-signature-symbol">&gt;</span></h4>
431
+									</li>
432
+								</ul>
433
+							</li>
434
+						</ul>
435
+					</div>
436
+				</section>
437
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
438
+					<a name="hookinfo" class="tsd-anchor"></a>
439
+					<h3>Hook<wbr>Info</h3>
440
+					<div class="tsd-signature tsd-kind-icon">Hook<wbr>Info&lt;T&gt;<span class="tsd-signature-symbol">:</span> <a href="_types_.html#baseinfo" class="tsd-signature-type">BaseInfo</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">object</span></div>
441
+					<aside class="tsd-sources">
442
+						<ul>
443
+							<li>Defined in Types.ts:49</li>
444
+						</ul>
445
+					</aside>
446
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
447
+					<ul class="tsd-type-parameters">
448
+						<li>
449
+							<h4>T</h4>
450
+						</li>
451
+					</ul>
452
+				</section>
453
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
454
+					<a name="hookrpc" class="tsd-anchor"></a>
455
+					<h3>HookRPC</h3>
456
+					<div class="tsd-signature tsd-kind-icon">HookRPC&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
457
+					<aside class="tsd-sources">
458
+						<ul>
459
+							<li>Defined in Types.ts:29</li>
460
+						</ul>
461
+					</aside>
462
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
463
+					<ul class="tsd-type-parameters">
464
+						<li>
465
+							<h4>T</h4>
466
+						</li>
467
+					</ul>
468
+					<div class="tsd-type-declaration">
469
+						<h4>Type declaration</h4>
470
+						<ul class="tsd-parameters">
471
+							<li class="tsd-parameter">
472
+								<h5>hook<span class="tsd-signature-symbol">: </span><a href="_types_.html#hookfunction" class="tsd-signature-type">HookFunction</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h5>
473
+							</li>
474
+							<li class="tsd-parameter">
475
+								<h5>name<span class="tsd-signature-symbol">: </span><a href="_types_.html#name-2" class="tsd-signature-type">Name</a></h5>
476
+							</li>
477
+							<li class="tsd-parameter">
478
+								<h5><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Callback<span class="tsd-signature-symbol">?: </span><a href="_types_.html#callbackfunction" class="tsd-signature-type">CallbackFunction</a></h5>
479
+							</li>
480
+							<li class="tsd-parameter">
481
+								<h5><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Close<span class="tsd-signature-symbol">?: </span><a href="_types_.html#hookclosefunction" class="tsd-signature-type">HookCloseFunction</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h5>
482
+							</li>
483
+						</ul>
484
+					</div>
485
+				</section>
486
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
487
+					<a name="name-2" class="tsd-anchor"></a>
488
+					<h3>Name</h3>
489
+					<div class="tsd-signature tsd-kind-icon">Name<span class="tsd-signature-symbol">:</span> <a href="_types_.html#arg" class="tsd-signature-type">Arg</a></div>
490
+					<aside class="tsd-sources">
491
+						<ul>
492
+							<li>Defined in Types.ts:6</li>
493
+						</ul>
494
+					</aside>
495
+				</section>
496
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
497
+					<a name="onfunction" class="tsd-anchor"></a>
498
+					<h3>On<wbr>Function</h3>
499
+					<div class="tsd-signature tsd-kind-icon">On<wbr>Function<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
500
+					<aside class="tsd-sources">
501
+						<ul>
502
+							<li>Defined in Types.ts:62</li>
503
+						</ul>
504
+					</aside>
505
+					<div class="tsd-type-declaration">
506
+						<h4>Type declaration</h4>
507
+						<ul class="tsd-parameters">
508
+							<li class="tsd-parameter-siganture">
509
+								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported">
510
+									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"error"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"close"</span>, f<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></li>
511
+								</ul>
512
+								<ul class="tsd-descriptions">
513
+									<li class="tsd-description">
514
+										<h4 class="tsd-parameters-title">Parameters</h4>
515
+										<ul class="tsd-parameters">
516
+											<li>
517
+												<h5>type: <span class="tsd-signature-type">"error"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"close"</span></h5>
518
+											</li>
519
+											<li>
520
+												<h5>f: <span class="tsd-signature-type">function</span></h5>
521
+												<ul class="tsd-parameters">
522
+													<li class="tsd-parameter-siganture">
523
+														<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
524
+															<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
525
+														</ul>
526
+														<ul class="tsd-descriptions">
527
+															<li class="tsd-description">
528
+																<h4 class="tsd-parameters-title">Parameters</h4>
529
+																<ul class="tsd-parameters">
530
+																	<li>
531
+																		<h5><span class="tsd-flag ts-flagOptional">Optional</span> e: <span class="tsd-signature-type">any</span></h5>
532
+																	</li>
533
+																</ul>
534
+																<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
535
+															</li>
536
+														</ul>
537
+													</li>
538
+												</ul>
539
+											</li>
540
+										</ul>
541
+										<h4 class="tsd-returns-title">Returns <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h4>
542
+									</li>
543
+								</ul>
544
+							</li>
545
+						</ul>
546
+					</div>
547
+				</section>
548
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
549
+					<a name="outcome" class="tsd-anchor"></a>
550
+					<h3>Outcome</h3>
551
+					<div class="tsd-signature tsd-kind-icon">Outcome<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Success"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Error"</span></div>
552
+					<aside class="tsd-sources">
553
+						<ul>
554
+							<li>Defined in Types.ts:19</li>
555
+						</ul>
556
+					</aside>
557
+				</section>
558
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
559
+					<a name="owner-1" class="tsd-anchor"></a>
560
+					<h3>Owner</h3>
561
+					<div class="tsd-signature tsd-kind-icon">Owner<span class="tsd-signature-symbol">:</span> <a href="_types_.html#name-2" class="tsd-signature-type">Name</a></div>
562
+					<aside class="tsd-sources">
563
+						<ul>
564
+							<li>Defined in Types.ts:7</li>
565
+						</ul>
566
+					</aside>
567
+				</section>
568
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
569
+					<a name="rpc" class="tsd-anchor"></a>
570
+					<h3>RPC</h3>
571
+					<div class="tsd-signature tsd-kind-icon">RPC&lt;T&gt;<span class="tsd-signature-symbol">:</span> <a href="_types_.html#callrpc" class="tsd-signature-type">CallRPC</a><span class="tsd-signature-symbol"> | </span><a href="_types_.html#hookrpc" class="tsd-signature-type">HookRPC</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></div>
572
+					<aside class="tsd-sources">
573
+						<ul>
574
+							<li>Defined in Types.ts:41</li>
575
+						</ul>
576
+					</aside>
577
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
578
+					<ul class="tsd-type-parameters">
579
+						<li>
580
+							<h4>T</h4>
581
+						</li>
582
+					</ul>
583
+				</section>
584
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
585
+					<a name="rpctype" class="tsd-anchor"></a>
586
+					<h3>RPCType</h3>
587
+					<div class="tsd-signature tsd-kind-icon">RPCType<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Hook"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Unhook"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Call"</span></div>
588
+					<aside class="tsd-sources">
589
+						<ul>
590
+							<li>Defined in Types.ts:27</li>
591
+						</ul>
592
+					</aside>
593
+				</section>
594
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
595
+					<a name="responsetype" class="tsd-anchor"></a>
596
+					<h3>Response<wbr>Type</h3>
597
+					<div class="tsd-signature tsd-kind-icon">Response<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Subscribe"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Success"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Error"</span></div>
598
+					<aside class="tsd-sources">
599
+						<ul>
600
+							<li>Defined in Types.ts:18</li>
601
+						</ul>
602
+					</aside>
603
+				</section>
604
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
605
+					<a name="respose" class="tsd-anchor"></a>
606
+					<h3>Respose</h3>
607
+					<div class="tsd-signature tsd-kind-icon">Respose&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">object</span></div>
608
+					<aside class="tsd-sources">
609
+						<ul>
610
+							<li>Defined in Types.ts:22</li>
611
+						</ul>
612
+					</aside>
613
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
614
+					<ul class="tsd-type-parameters">
615
+						<li>
616
+							<h4>T</h4>
617
+						</li>
618
+					</ul>
619
+				</section>
620
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
621
+					<a name="rpcinfo" class="tsd-anchor"></a>
622
+					<h3>Rpc<wbr>Info</h3>
623
+					<div class="tsd-signature tsd-kind-icon">Rpc<wbr>Info<span class="tsd-signature-symbol">:</span> <a href="_types_.html#hookinfo" class="tsd-signature-type">HookInfo</a><span class="tsd-signature-symbol"> | </span><a href="_types_.html#callinfo" class="tsd-signature-type">CallInfo</a></div>
624
+					<aside class="tsd-sources">
625
+						<ul>
626
+							<li>Defined in Types.ts:59</li>
627
+						</ul>
628
+					</aside>
629
+				</section>
630
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
631
+					<a name="socketconf" class="tsd-anchor"></a>
632
+					<h3>Socket<wbr>Conf</h3>
633
+					<div class="tsd-signature tsd-kind-icon">Socket<wbr>Conf<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
634
+					<aside class="tsd-sources">
635
+						<ul>
636
+							<li>Defined in Types.ts:11</li>
637
+						</ul>
638
+					</aside>
639
+					<div class="tsd-type-declaration">
640
+						<h4>Type declaration</h4>
641
+						<ul class="tsd-parameters">
642
+							<li class="tsd-parameter">
643
+								<h5><span class="tsd-flag ts-flagOptional">Optional</span> close<wbr>Handler<span class="tsd-signature-symbol">?: </span><a href="_types_.html#closehandler" class="tsd-signature-type">CloseHandler</a></h5>
644
+							</li>
645
+							<li class="tsd-parameter">
646
+								<h5><span class="tsd-flag ts-flagOptional">Optional</span> connection<wbr>Handler<span class="tsd-signature-symbol">?: </span><a href="_types_.html#connectionhandler" class="tsd-signature-type">ConnectionHandler</a></h5>
647
+							</li>
648
+							<li class="tsd-parameter">
649
+								<h5><span class="tsd-flag ts-flagOptional">Optional</span> error<wbr>Handler<span class="tsd-signature-symbol">?: </span><a href="_types_.html#errorhandler" class="tsd-signature-type">ErrorHandler</a></h5>
650
+							</li>
651
+							<li class="tsd-parameter">
652
+								<h5><span class="tsd-flag ts-flagOptional">Optional</span> visibility<span class="tsd-signature-symbol">?: </span><a href="_types_.html#visibility-1" class="tsd-signature-type">Visibility</a></h5>
653
+							</li>
654
+						</ul>
655
+					</div>
656
+				</section>
657
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
658
+					<a name="subscriptionresponse" class="tsd-anchor"></a>
659
+					<h3>Subscription<wbr>Response</h3>
660
+					<div class="tsd-signature tsd-kind-icon">Subscription<wbr>Response&lt;T&gt;<span class="tsd-signature-symbol">:</span> <a href="_types_.html#respose" class="tsd-signature-type">Respose</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">object</span></div>
661
+					<aside class="tsd-sources">
662
+						<ul>
663
+							<li>Defined in Types.ts:25</li>
664
+						</ul>
665
+					</aside>
666
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
667
+					<ul class="tsd-type-parameters">
668
+						<li>
669
+							<h4>T</h4>
670
+						</li>
671
+					</ul>
672
+				</section>
673
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
674
+					<a name="successresponse" class="tsd-anchor"></a>
675
+					<h3>Success<wbr>Response</h3>
676
+					<div class="tsd-signature tsd-kind-icon">Success<wbr>Response&lt;T&gt;<span class="tsd-signature-symbol">:</span> <a href="_types_.html#respose" class="tsd-signature-type">Respose</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">object</span></div>
677
+					<aside class="tsd-sources">
678
+						<ul>
679
+							<li>Defined in Types.ts:23</li>
680
+						</ul>
681
+					</aside>
682
+					<h4 class="tsd-type-parameters-title">Type parameters</h4>
683
+					<ul class="tsd-type-parameters">
684
+						<li>
685
+							<h4>T</h4>
686
+						</li>
687
+					</ul>
688
+				</section>
689
+				<section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-external-module">
690
+					<a name="visibility-1" class="tsd-anchor"></a>
691
+					<h3>Visibility</h3>
692
+					<div class="tsd-signature tsd-kind-icon">Visibility<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"127.0.0.1"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"0.0.0.0"</span></div>
693
+					<aside class="tsd-sources">
694
+						<ul>
695
+							<li>Defined in Types.ts:3</li>
696
+						</ul>
697
+					</aside>
698
+				</section>
699
+			</section>
700
+		</div>
701
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
702
+			<nav class="tsd-navigation primary">
703
+				<ul>
704
+					<li class="globals  ">
705
+						<a href="../index.html"><em>Globals</em></a>
706
+					</li>
707
+					<li class=" tsd-kind-external-module">
708
+						<a href="_backend_.html">"<wbr>Backend"</a>
709
+					</li>
710
+					<li class=" tsd-kind-external-module">
711
+						<a href="_frontend_.html">"<wbr>Frontend"</a>
712
+					</li>
713
+					<li class=" tsd-kind-external-module">
714
+						<a href="_interfaces_.html">"<wbr>Interfaces"</a>
715
+					</li>
716
+					<li class="current tsd-kind-external-module">
717
+						<a href="_types_.html">"<wbr>Types"</a>
718
+					</li>
719
+					<li class=" tsd-kind-external-module">
720
+						<a href="_utils_.html">"<wbr>Utils"</a>
721
+					</li>
722
+				</ul>
723
+			</nav>
724
+			<nav class="tsd-navigation secondary menu-sticky">
725
+				<ul class="before-current">
726
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
727
+						<a href="_types_.html#any" class="tsd-kind-icon">Any</a>
728
+					</li>
729
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
730
+						<a href="_types_.html#arg" class="tsd-kind-icon">Arg</a>
731
+					</li>
732
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
733
+						<a href="_types_.html#asyncfunction" class="tsd-kind-icon">Async<wbr>Function</a>
734
+					</li>
735
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
736
+						<a href="_types_.html#baseinfo" class="tsd-kind-icon">Base<wbr>Info</a>
737
+					</li>
738
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
739
+						<a href="_types_.html#callinfo" class="tsd-kind-icon">Call<wbr>Info</a>
740
+					</li>
741
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
742
+						<a href="_types_.html#callrpc" class="tsd-kind-icon">CallRPC</a>
743
+					</li>
744
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
745
+						<a href="_types_.html#callbackfunction" class="tsd-kind-icon">Callback<wbr>Function</a>
746
+					</li>
747
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
748
+						<a href="_types_.html#closehandler" class="tsd-kind-icon">Close<wbr>Handler</a>
749
+					</li>
750
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
751
+						<a href="_types_.html#connectionhandler" class="tsd-kind-icon">Connection<wbr>Handler</a>
752
+					</li>
753
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
754
+						<a href="_types_.html#errorhandler" class="tsd-kind-icon">Error<wbr>Handler</a>
755
+					</li>
756
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
757
+						<a href="_types_.html#errorresponse" class="tsd-kind-icon">Error<wbr>Response</a>
758
+					</li>
759
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
760
+						<a href="_types_.html#extendedrpcinfo" class="tsd-kind-icon">Extended<wbr>Rpc<wbr>Info</a>
761
+					</li>
762
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
763
+						<a href="_types_.html#hookclosefunction" class="tsd-kind-icon">Hook<wbr>Close<wbr>Function</a>
764
+					</li>
765
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
766
+						<a href="_types_.html#hookfunction" class="tsd-kind-icon">Hook<wbr>Function</a>
767
+					</li>
768
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
769
+						<a href="_types_.html#hookinfo" class="tsd-kind-icon">Hook<wbr>Info</a>
770
+					</li>
771
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
772
+						<a href="_types_.html#hookrpc" class="tsd-kind-icon">HookRPC</a>
773
+					</li>
774
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
775
+						<a href="_types_.html#name-2" class="tsd-kind-icon">Name</a>
776
+					</li>
777
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
778
+						<a href="_types_.html#onfunction" class="tsd-kind-icon">On<wbr>Function</a>
779
+					</li>
780
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
781
+						<a href="_types_.html#outcome" class="tsd-kind-icon">Outcome</a>
782
+					</li>
783
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
784
+						<a href="_types_.html#owner-1" class="tsd-kind-icon">Owner</a>
785
+					</li>
786
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
787
+						<a href="_types_.html#rpc" class="tsd-kind-icon">RPC</a>
788
+					</li>
789
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
790
+						<a href="_types_.html#rpctype" class="tsd-kind-icon">RPCType</a>
791
+					</li>
792
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
793
+						<a href="_types_.html#responsetype" class="tsd-kind-icon">Response<wbr>Type</a>
794
+					</li>
795
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
796
+						<a href="_types_.html#respose" class="tsd-kind-icon">Respose</a>
797
+					</li>
798
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
799
+						<a href="_types_.html#rpcinfo" class="tsd-kind-icon">Rpc<wbr>Info</a>
800
+					</li>
801
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
802
+						<a href="_types_.html#socketconf" class="tsd-kind-icon">Socket<wbr>Conf</a>
803
+					</li>
804
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
805
+						<a href="_types_.html#subscriptionresponse" class="tsd-kind-icon">Subscription<wbr>Response</a>
806
+					</li>
807
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
808
+						<a href="_types_.html#successresponse" class="tsd-kind-icon">Success<wbr>Response</a>
809
+					</li>
810
+					<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
811
+						<a href="_types_.html#visibility-1" class="tsd-kind-icon">Visibility</a>
812
+					</li>
813
+				</ul>
814
+			</nav>
815
+		</div>
816
+	</div>
817
+</div>
818
+<footer class="with-border-bottom">
819
+	<div class="container">
820
+		<h2>Legend</h2>
821
+		<div class="tsd-legend-group">
822
+			<ul class="tsd-legend">
823
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
824
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
825
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
826
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
827
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
828
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
829
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
830
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
831
+			</ul>
832
+			<ul class="tsd-legend">
833
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
834
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
835
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
836
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
837
+			</ul>
838
+			<ul class="tsd-legend">
839
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
840
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
841
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
842
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
843
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
844
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
845
+			</ul>
846
+			<ul class="tsd-legend">
847
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
848
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
849
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
850
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
851
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
852
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
853
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
854
+			</ul>
855
+			<ul class="tsd-legend">
856
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
857
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
858
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
859
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
860
+			</ul>
861
+			<ul class="tsd-legend">
862
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
863
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
864
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
865
+			</ul>
866
+			<ul class="tsd-legend">
867
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
868
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
869
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
870
+			</ul>
871
+			<ul class="tsd-legend">
872
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
873
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
874
+			</ul>
875
+		</div>
876
+	</div>
877
+</footer>
878
+<div class="container tsd-generator">
879
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
880
+</div>
881
+<div class="overlay"></div>
882
+<script src="../assets/js/main.js"></script>
883
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
884
+</body>
885
+</html>

+ 356
- 0
docs/modules/_utils_.html Visa fil

@@ -0,0 +1,356 @@
1
+<!doctype html>
2
+<html class="default no-js">
3
+<head>
4
+	<meta charset="utf-8">
5
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+	<title>&quot;Utils&quot; | rpclibrary</title>
7
+	<meta name="description" content="">
8
+	<meta name="viewport" content="width=device-width, initial-scale=1">
9
+	<link rel="stylesheet" href="../assets/css/main.css">
10
+</head>
11
+<body>
12
+<header>
13
+	<div class="tsd-page-toolbar">
14
+		<div class="container">
15
+			<div class="table-wrap">
16
+				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17
+					<div class="field">
18
+						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
+						<input id="tsd-search-field" type="text" />
20
+					</div>
21
+					<ul class="results">
22
+						<li class="state loading">Preparing search index...</li>
23
+						<li class="state failure">The search index is not available</li>
24
+					</ul>
25
+					<a href="../index.html" class="title">rpclibrary</a>
26
+				</div>
27
+				<div class="table-cell" id="tsd-widgets">
28
+					<div id="tsd-filter">
29
+						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
+						<div class="tsd-filter-group">
31
+							<div class="tsd-select" id="tsd-filter-visibility">
32
+								<span class="tsd-select-label">All</span>
33
+								<ul class="tsd-select-list">
34
+									<li data-value="public">Public</li>
35
+									<li data-value="protected">Public/Protected</li>
36
+									<li data-value="private" class="selected">All</li>
37
+								</ul>
38
+							</div>
39
+							<input type="checkbox" id="tsd-filter-inherited" checked />
40
+							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
+							<input type="checkbox" id="tsd-filter-externals" checked />
42
+							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
+							<input type="checkbox" id="tsd-filter-only-exported" />
44
+							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
+						</div>
46
+					</div>
47
+					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
+				</div>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<div class="tsd-page-title">
53
+		<div class="container">
54
+			<ul class="tsd-breadcrumb">
55
+				<li>
56
+					<a href="../index.html">Globals</a>
57
+				</li>
58
+				<li>
59
+					<a href="_utils_.html">&quot;Utils&quot;</a>
60
+				</li>
61
+			</ul>
62
+			<h1>External module &quot;Utils&quot;</h1>
63
+		</div>
64
+	</div>
65
+</header>
66
+<div class="container container-main">
67
+	<div class="row">
68
+		<div class="col-8 col-content">
69
+			<section class="tsd-panel-group tsd-index-group">
70
+				<h2>Index</h2>
71
+				<section class="tsd-panel tsd-index-panel">
72
+					<div class="tsd-index-content">
73
+						<section class="tsd-index-section ">
74
+							<h3>Functions</h3>
75
+							<ul class="tsd-index-list">
76
+								<li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_utils_.html#extractargs" class="tsd-kind-icon">extract<wbr>Args</a></li>
77
+								<li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_utils_.html#hookgenerator" class="tsd-kind-icon">hook<wbr>Generator</a></li>
78
+								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_utils_.html#makesubresponse" class="tsd-kind-icon">make<wbr>Sub<wbr>Response</a></li>
79
+								<li class="tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_utils_.html#rpchooker" class="tsd-kind-icon">rpc<wbr>Hooker</a></li>
80
+								<li class="tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter"><a href="_utils_.html#rpctorpcinfo" class="tsd-kind-icon">rpc<wbr>ToRpcinfo</a></li>
81
+							</ul>
82
+						</section>
83
+					</div>
84
+				</section>
85
+			</section>
86
+			<section class="tsd-panel-group tsd-member-group ">
87
+				<h2>Functions</h2>
88
+				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
89
+					<a name="extractargs" class="tsd-anchor"></a>
90
+					<h3><span class="tsd-flag ts-flagConst">Const</span> extract<wbr>Args</h3>
91
+					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
92
+						<li class="tsd-signature tsd-kind-icon">extract<wbr>Args<span class="tsd-signature-symbol">(</span>f<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Arg</span><span class="tsd-signature-symbol">[]</span></li>
93
+					</ul>
94
+					<ul class="tsd-descriptions">
95
+						<li class="tsd-description">
96
+							<aside class="tsd-sources">
97
+								<ul>
98
+									<li>Defined in Utils.ts:91</li>
99
+								</ul>
100
+							</aside>
101
+							<h4 class="tsd-parameters-title">Parameters</h4>
102
+							<ul class="tsd-parameters">
103
+								<li>
104
+									<h5>f: <span class="tsd-signature-type">Function</span></h5>
105
+								</li>
106
+							</ul>
107
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T.Arg</span><span class="tsd-signature-symbol">[]</span></h4>
108
+						</li>
109
+					</ul>
110
+				</section>
111
+				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
112
+					<a name="hookgenerator" class="tsd-anchor"></a>
113
+					<h3><span class="tsd-flag ts-flagConst">Const</span> hook<wbr>Generator</h3>
114
+					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
115
+						<li class="tsd-signature tsd-kind-icon">hook<wbr>Generator<span class="tsd-signature-symbol">(</span>rpc<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.HookRPC</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span></li>
116
+					</ul>
117
+					<ul class="tsd-descriptions">
118
+						<li class="tsd-description">
119
+							<aside class="tsd-sources">
120
+								<ul>
121
+									<li>Defined in Utils.ts:70</li>
122
+								</ul>
123
+							</aside>
124
+							<h4 class="tsd-parameters-title">Parameters</h4>
125
+							<ul class="tsd-parameters">
126
+								<li>
127
+									<h5>rpc: <span class="tsd-signature-type">T.HookRPC</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h5>
128
+								</li>
129
+							</ul>
130
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">function</span></h4>
131
+							<ul class="tsd-parameters">
132
+								<li class="tsd-parameter-siganture">
133
+									<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
134
+										<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>socket<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">I.Socket</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_types_.html#hookfunction" class="tsd-signature-type">HookFunction</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></li>
135
+									</ul>
136
+									<ul class="tsd-descriptions">
137
+										<li class="tsd-description">
138
+											<h4 class="tsd-parameters-title">Parameters</h4>
139
+											<ul class="tsd-parameters">
140
+												<li>
141
+													<h5><span class="tsd-flag ts-flagOptional">Optional</span> socket: <span class="tsd-signature-type">I.Socket</span></h5>
142
+												</li>
143
+											</ul>
144
+											<h4 class="tsd-returns-title">Returns <a href="_types_.html#hookfunction" class="tsd-signature-type">HookFunction</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
145
+										</li>
146
+									</ul>
147
+								</li>
148
+							</ul>
149
+						</li>
150
+					</ul>
151
+				</section>
152
+				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
153
+					<a name="makesubresponse" class="tsd-anchor"></a>
154
+					<h3>make<wbr>Sub<wbr>Response</h3>
155
+					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
156
+						<li class="tsd-signature tsd-kind-icon">make<wbr>Sub<wbr>Response<span class="tsd-signature-symbol">(</span>uuid<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_types_.html#subscriptionresponse" class="tsd-signature-type">SubscriptionResponse</a></li>
157
+					</ul>
158
+					<ul class="tsd-descriptions">
159
+						<li class="tsd-description">
160
+							<aside class="tsd-sources">
161
+								<ul>
162
+									<li>Defined in Utils.ts:96</li>
163
+								</ul>
164
+							</aside>
165
+							<h4 class="tsd-parameters-title">Parameters</h4>
166
+							<ul class="tsd-parameters">
167
+								<li>
168
+									<h5><span class="tsd-flag ts-flagOptional">Optional</span> uuid: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
169
+								</li>
170
+							</ul>
171
+							<h4 class="tsd-returns-title">Returns <a href="_types_.html#subscriptionresponse" class="tsd-signature-type">SubscriptionResponse</a></h4>
172
+						</li>
173
+					</ul>
174
+				</section>
175
+				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
176
+					<a name="rpchooker" class="tsd-anchor"></a>
177
+					<h3>rpc<wbr>Hooker</h3>
178
+					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
179
+						<li class="tsd-signature tsd-kind-icon">rpc<wbr>Hooker&lt;SubResT&gt;<span class="tsd-signature-symbol">(</span>socket<span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a>, exporter<span class="tsd-signature-symbol">: </span><a href="../interfaces/_interfaces_.exporter.html" class="tsd-signature-type">Exporter</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SubResT</span><span class="tsd-signature-symbol">&gt;</span>, makeUnique<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.ExtendedRpcInfo</span><span class="tsd-signature-symbol">[]</span></li>
180
+					</ul>
181
+					<ul class="tsd-descriptions">
182
+						<li class="tsd-description">
183
+							<aside class="tsd-sources">
184
+								<ul>
185
+									<li>Defined in Utils.ts:48</li>
186
+								</ul>
187
+							</aside>
188
+							<h4 class="tsd-type-parameters-title">Type parameters</h4>
189
+							<ul class="tsd-type-parameters">
190
+								<li>
191
+									<h4>SubResT</h4>
192
+								</li>
193
+							</ul>
194
+							<h4 class="tsd-parameters-title">Parameters</h4>
195
+							<ul class="tsd-parameters">
196
+								<li>
197
+									<h5>socket: <a href="../interfaces/_interfaces_.socket.html" class="tsd-signature-type">Socket</a></h5>
198
+								</li>
199
+								<li>
200
+									<h5>exporter: <a href="../interfaces/_interfaces_.exporter.html" class="tsd-signature-type">Exporter</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SubResT</span><span class="tsd-signature-symbol">&gt;</span></h5>
201
+								</li>
202
+								<li>
203
+									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> makeUnique: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> =&nbsp;true</span></h5>
204
+								</li>
205
+							</ul>
206
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T.ExtendedRpcInfo</span><span class="tsd-signature-symbol">[]</span></h4>
207
+						</li>
208
+					</ul>
209
+				</section>
210
+				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
211
+					<a name="rpctorpcinfo" class="tsd-anchor"></a>
212
+					<h3><span class="tsd-flag ts-flagConst">Const</span> rpc<wbr>ToRpcinfo</h3>
213
+					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
214
+						<li class="tsd-signature tsd-kind-icon">rpc<wbr>ToRpcinfo&lt;SubResT&gt;<span class="tsd-signature-symbol">(</span>rpc<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.RPC</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SubResT</span><span class="tsd-signature-symbol">&gt;</span>, owner<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.Owner</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T.RpcInfo</span></li>
215
+					</ul>
216
+					<ul class="tsd-descriptions">
217
+						<li class="tsd-description">
218
+							<aside class="tsd-sources">
219
+								<ul>
220
+									<li>Defined in Utils.ts:8</li>
221
+								</ul>
222
+							</aside>
223
+							<h4 class="tsd-type-parameters-title">Type parameters</h4>
224
+							<ul class="tsd-type-parameters">
225
+								<li>
226
+									<h4>SubResT</h4>
227
+								</li>
228
+							</ul>
229
+							<h4 class="tsd-parameters-title">Parameters</h4>
230
+							<ul class="tsd-parameters">
231
+								<li>
232
+									<h5>rpc: <span class="tsd-signature-type">T.RPC</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SubResT</span><span class="tsd-signature-symbol">&gt;</span></h5>
233
+								</li>
234
+								<li>
235
+									<h5>owner: <span class="tsd-signature-type">T.Owner</span></h5>
236
+								</li>
237
+							</ul>
238
+							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T.RpcInfo</span></h4>
239
+						</li>
240
+					</ul>
241
+				</section>
242
+			</section>
243
+		</div>
244
+		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
245
+			<nav class="tsd-navigation primary">
246
+				<ul>
247
+					<li class="globals  ">
248
+						<a href="../index.html"><em>Globals</em></a>
249
+					</li>
250
+					<li class=" tsd-kind-external-module">
251
+						<a href="_backend_.html">"<wbr>Backend"</a>
252
+					</li>
253
+					<li class=" tsd-kind-external-module">
254
+						<a href="_frontend_.html">"<wbr>Frontend"</a>
255
+					</li>
256
+					<li class=" tsd-kind-external-module">
257
+						<a href="_interfaces_.html">"<wbr>Interfaces"</a>
258
+					</li>
259
+					<li class=" tsd-kind-external-module">
260
+						<a href="_types_.html">"<wbr>Types"</a>
261
+					</li>
262
+					<li class="current tsd-kind-external-module">
263
+						<a href="_utils_.html">"<wbr>Utils"</a>
264
+					</li>
265
+				</ul>
266
+			</nav>
267
+			<nav class="tsd-navigation secondary menu-sticky">
268
+				<ul class="before-current">
269
+					<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
270
+						<a href="_utils_.html#extractargs" class="tsd-kind-icon">extract<wbr>Args</a>
271
+					</li>
272
+					<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
273
+						<a href="_utils_.html#hookgenerator" class="tsd-kind-icon">hook<wbr>Generator</a>
274
+					</li>
275
+					<li class=" tsd-kind-function tsd-parent-kind-external-module">
276
+						<a href="_utils_.html#makesubresponse" class="tsd-kind-icon">make<wbr>Sub<wbr>Response</a>
277
+					</li>
278
+					<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
279
+						<a href="_utils_.html#rpchooker" class="tsd-kind-icon">rpc<wbr>Hooker</a>
280
+					</li>
281
+					<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
282
+						<a href="_utils_.html#rpctorpcinfo" class="tsd-kind-icon">rpc<wbr>ToRpcinfo</a>
283
+					</li>
284
+				</ul>
285
+			</nav>
286
+		</div>
287
+	</div>
288
+</div>
289
+<footer class="with-border-bottom">
290
+	<div class="container">
291
+		<h2>Legend</h2>
292
+		<div class="tsd-legend-group">
293
+			<ul class="tsd-legend">
294
+				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
295
+				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
296
+				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
297
+				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
298
+				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
299
+				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
300
+				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
301
+				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
302
+			</ul>
303
+			<ul class="tsd-legend">
304
+				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
305
+				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
306
+				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
307
+				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
308
+			</ul>
309
+			<ul class="tsd-legend">
310
+				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
311
+				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
312
+				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
313
+				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
314
+				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
315
+				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
316
+			</ul>
317
+			<ul class="tsd-legend">
318
+				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
319
+				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
320
+				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
321
+				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
322
+				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
323
+				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
324
+				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
325
+			</ul>
326
+			<ul class="tsd-legend">
327
+				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
328
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
329
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
330
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
331
+			</ul>
332
+			<ul class="tsd-legend">
333
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
334
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
335
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
336
+			</ul>
337
+			<ul class="tsd-legend">
338
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
339
+				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
340
+				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
341
+			</ul>
342
+			<ul class="tsd-legend">
343
+				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
344
+				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
345
+			</ul>
346
+		</div>
347
+	</div>
348
+</footer>
349
+<div class="container tsd-generator">
350
+	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
351
+</div>
352
+<div class="overlay"></div>
353
+<script src="../assets/js/main.js"></script>
354
+<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
355
+</body>
356
+</html>

+ 191
- 1
package-lock.json Visa fil

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "rpclibrary",
3
-  "version": "1.1.0",
3
+  "version": "1.1.2",
4 4
   "lockfileVersion": 1,
5 5
   "requires": true,
6 6
   "dependencies": {
@@ -63,6 +63,12 @@
63 63
       "integrity": "sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw==",
64 64
       "dev": true
65 65
     },
66
+    "@types/minimatch": {
67
+      "version": "3.0.3",
68
+      "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
69
+      "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==",
70
+      "dev": true
71
+    },
66 72
     "@types/mocha": {
67 73
       "version": "5.2.7",
68 74
       "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.7.tgz",
@@ -458,6 +464,15 @@
458 464
       "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
459 465
       "dev": true
460 466
     },
467
+    "backbone": {
468
+      "version": "1.4.0",
469
+      "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.4.0.tgz",
470
+      "integrity": "sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==",
471
+      "dev": true,
472
+      "requires": {
473
+        "underscore": ">=1.8.3"
474
+      }
475
+    },
461 476
     "balanced-match": {
462 477
       "version": "1.0.0",
463 478
       "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
@@ -1622,6 +1637,17 @@
1622 1637
       "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
1623 1638
       "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ="
1624 1639
     },
1640
+    "fs-extra": {
1641
+      "version": "8.1.0",
1642
+      "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
1643
+      "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
1644
+      "dev": true,
1645
+      "requires": {
1646
+        "graceful-fs": "^4.2.0",
1647
+        "jsonfile": "^4.0.0",
1648
+        "universalify": "^0.1.0"
1649
+      }
1650
+    },
1625 1651
     "fs-write-stream-atomic": {
1626 1652
       "version": "1.0.10",
1627 1653
       "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
@@ -2303,6 +2329,18 @@
2303 2329
       "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==",
2304 2330
       "dev": true
2305 2331
     },
2332
+    "handlebars": {
2333
+      "version": "4.2.1",
2334
+      "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.2.1.tgz",
2335
+      "integrity": "sha512-bqPIlDk06UWbVEIFoYj+LVo42WhK96J+b25l7hbFDpxrOXMphFM3fNIm+cluwg4Pk2jiLjWU5nHQY7igGE75NQ==",
2336
+      "dev": true,
2337
+      "requires": {
2338
+        "neo-async": "^2.6.0",
2339
+        "optimist": "^0.6.1",
2340
+        "source-map": "^0.6.1",
2341
+        "uglify-js": "^3.1.4"
2342
+      }
2343
+    },
2306 2344
     "has": {
2307 2345
       "version": "1.0.3",
2308 2346
       "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
@@ -2382,6 +2420,12 @@
2382 2420
       "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
2383 2421
       "dev": true
2384 2422
     },
2423
+    "highlight.js": {
2424
+      "version": "9.15.10",
2425
+      "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.15.10.tgz",
2426
+      "integrity": "sha512-RoV7OkQm0T3os3Dd2VHLNMoaoDVx77Wygln3n9l5YV172XonWG6rgQD3XnF/BuFFZw9A0TJgmMSO8FEWQgvcXw==",
2427
+      "dev": true
2428
+    },
2385 2429
     "hmac-drbg": {
2386 2430
       "version": "1.0.1",
2387 2431
       "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
@@ -2731,6 +2775,12 @@
2731 2775
         "supports-color": "^6.1.0"
2732 2776
       }
2733 2777
     },
2778
+    "jquery": {
2779
+      "version": "3.4.1",
2780
+      "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.4.1.tgz",
2781
+      "integrity": "sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw==",
2782
+      "dev": true
2783
+    },
2734 2784
     "js-yaml": {
2735 2785
       "version": "3.13.1",
2736 2786
       "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
@@ -2770,6 +2820,15 @@
2770 2820
         }
2771 2821
       }
2772 2822
     },
2823
+    "jsonfile": {
2824
+      "version": "4.0.0",
2825
+      "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
2826
+      "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
2827
+      "dev": true,
2828
+      "requires": {
2829
+        "graceful-fs": "^4.1.6"
2830
+      }
2831
+    },
2773 2832
     "kind-of": {
2774 2833
       "version": "6.0.2",
2775 2834
       "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
@@ -2835,6 +2894,12 @@
2835 2894
         "yallist": "^3.0.2"
2836 2895
       }
2837 2896
     },
2897
+    "lunr": {
2898
+      "version": "2.3.6",
2899
+      "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.6.tgz",
2900
+      "integrity": "sha512-swStvEyDqQ85MGpABCMBclZcLI/pBIlu8FFDtmX197+oEgKloJ67QnB+Tidh0340HmLMs39c4GrkPY3cmkXp6Q==",
2901
+      "dev": true
2902
+    },
2838 2903
     "make-dir": {
2839 2904
       "version": "3.0.0",
2840 2905
       "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz",
@@ -2880,6 +2945,12 @@
2880 2945
         "object-visit": "^1.0.0"
2881 2946
       }
2882 2947
     },
2948
+    "marked": {
2949
+      "version": "0.7.0",
2950
+      "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz",
2951
+      "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==",
2952
+      "dev": true
2953
+    },
2883 2954
     "md5.js": {
2884 2955
       "version": "1.3.5",
2885 2956
       "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
@@ -3492,6 +3563,16 @@
3492 3563
         "wrappy": "1"
3493 3564
       }
3494 3565
     },
3566
+    "optimist": {
3567
+      "version": "0.6.1",
3568
+      "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
3569
+      "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
3570
+      "dev": true,
3571
+      "requires": {
3572
+        "minimist": "~0.0.1",
3573
+        "wordwrap": "~0.0.2"
3574
+      }
3575
+    },
3495 3576
     "os-browserify": {
3496 3577
       "version": "0.3.0",
3497 3578
       "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",
@@ -3633,6 +3714,12 @@
3633 3714
       "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
3634 3715
       "dev": true
3635 3716
     },
3717
+    "path-parse": {
3718
+      "version": "1.0.6",
3719
+      "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
3720
+      "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
3721
+      "dev": true
3722
+    },
3636 3723
     "pathval": {
3637 3724
       "version": "1.1.0",
3638 3725
       "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz",
@@ -3684,6 +3771,12 @@
3684 3771
       "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
3685 3772
       "dev": true
3686 3773
     },
3774
+    "progress": {
3775
+      "version": "2.0.3",
3776
+      "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
3777
+      "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
3778
+      "dev": true
3779
+    },
3687 3780
     "promise-inflight": {
3688 3781
       "version": "1.0.1",
3689 3782
       "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
@@ -3806,6 +3899,15 @@
3806 3899
         "readable-stream": "^2.0.2"
3807 3900
       }
3808 3901
     },
3902
+    "rechoir": {
3903
+      "version": "0.6.2",
3904
+      "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",
3905
+      "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=",
3906
+      "dev": true,
3907
+      "requires": {
3908
+        "resolve": "^1.1.6"
3909
+      }
3910
+    },
3809 3911
     "regex-not": {
3810 3912
       "version": "1.0.2",
3811 3913
       "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
@@ -3846,6 +3948,15 @@
3846 3948
       "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
3847 3949
       "dev": true
3848 3950
     },
3951
+    "resolve": {
3952
+      "version": "1.12.0",
3953
+      "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz",
3954
+      "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==",
3955
+      "dev": true,
3956
+      "requires": {
3957
+        "path-parse": "^1.0.6"
3958
+      }
3959
+    },
3849 3960
     "resolve-cwd": {
3850 3961
       "version": "2.0.0",
3851 3962
       "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz",
@@ -4021,6 +4132,17 @@
4021 4132
       "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
4022 4133
       "dev": true
4023 4134
     },
4135
+    "shelljs": {
4136
+      "version": "0.8.3",
4137
+      "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz",
4138
+      "integrity": "sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==",
4139
+      "dev": true,
4140
+      "requires": {
4141
+        "glob": "^7.0.0",
4142
+        "interpret": "^1.0.0",
4143
+        "rechoir": "^0.6.2"
4144
+      }
4145
+    },
4024 4146
     "signal-exit": {
4025 4147
       "version": "3.0.2",
4026 4148
       "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
@@ -4543,12 +4665,68 @@
4543 4665
       "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
4544 4666
       "dev": true
4545 4667
     },
4668
+    "typedoc": {
4669
+      "version": "0.15.0",
4670
+      "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.15.0.tgz",
4671
+      "integrity": "sha512-NOtfq5Tis4EFt+J2ozhVq9RCeUnfEYMFKoU6nCXCXUULJz1UQynOM+yH3TkfZCPLzigbqB0tQYGVlktUWweKlw==",
4672
+      "dev": true,
4673
+      "requires": {
4674
+        "@types/minimatch": "3.0.3",
4675
+        "fs-extra": "^8.1.0",
4676
+        "handlebars": "^4.1.2",
4677
+        "highlight.js": "^9.15.8",
4678
+        "lodash": "^4.17.15",
4679
+        "marked": "^0.7.0",
4680
+        "minimatch": "^3.0.0",
4681
+        "progress": "^2.0.3",
4682
+        "shelljs": "^0.8.3",
4683
+        "typedoc-default-themes": "^0.6.0",
4684
+        "typescript": "3.5.x"
4685
+      },
4686
+      "dependencies": {
4687
+        "typescript": {
4688
+          "version": "3.5.3",
4689
+          "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz",
4690
+          "integrity": "sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==",
4691
+          "dev": true
4692
+        }
4693
+      }
4694
+    },
4695
+    "typedoc-default-themes": {
4696
+      "version": "0.6.0",
4697
+      "resolved": "https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.6.0.tgz",
4698
+      "integrity": "sha512-MdTROOojxod78CEv22rIA69o7crMPLnVZPefuDLt/WepXqJwgiSu8Xxq+H36x0Jj3YGc7lOglI2vPJ2GhoOybw==",
4699
+      "dev": true,
4700
+      "requires": {
4701
+        "backbone": "^1.4.0",
4702
+        "jquery": "^3.4.1",
4703
+        "lunr": "^2.3.6",
4704
+        "underscore": "^1.9.1"
4705
+      }
4706
+    },
4546 4707
     "typescript": {
4547 4708
       "version": "3.6.3",
4548 4709
       "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.3.tgz",
4549 4710
       "integrity": "sha512-N7bceJL1CtRQ2RiG0AQME13ksR7DiuQh/QehubYcghzv20tnh+MQnQIuJddTmsbqYj+dztchykemz0zFzlvdQw==",
4550 4711
       "dev": true
4551 4712
     },
4713
+    "uglify-js": {
4714
+      "version": "3.6.0",
4715
+      "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz",
4716
+      "integrity": "sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==",
4717
+      "dev": true,
4718
+      "optional": true,
4719
+      "requires": {
4720
+        "commander": "~2.20.0",
4721
+        "source-map": "~0.6.1"
4722
+      }
4723
+    },
4724
+    "underscore": {
4725
+      "version": "1.9.1",
4726
+      "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
4727
+      "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==",
4728
+      "dev": true
4729
+    },
4552 4730
     "union-value": {
4553 4731
       "version": "1.0.1",
4554 4732
       "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
@@ -4579,6 +4757,12 @@
4579 4757
         "imurmurhash": "^0.1.4"
4580 4758
       }
4581 4759
     },
4760
+    "universalify": {
4761
+      "version": "0.1.2",
4762
+      "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
4763
+      "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
4764
+      "dev": true
4765
+    },
4582 4766
     "unset-value": {
4583 4767
       "version": "1.0.0",
4584 4768
       "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
@@ -4923,6 +5107,12 @@
4923 5107
         }
4924 5108
       }
4925 5109
     },
5110
+    "wordwrap": {
5111
+      "version": "0.0.3",
5112
+      "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
5113
+      "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
5114
+      "dev": true
5115
+    },
4926 5116
     "worker-farm": {
4927 5117
       "version": "1.7.0",
4928 5118
       "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz",

+ 4
- 2
package.json Visa fil

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "rpclibrary",
3
-  "version": "1.1.2",
3
+  "version": "1.1.3",
4 4
   "description": "",
5 5
   "main": "./js/Index.js",
6 6
   "scripts": {
@@ -10,7 +10,8 @@
10 10
     "frontend": "node js/test/TestFrontend.js",
11 11
     "build": "npm run clean && tsc && npm run webpack",
12 12
     "clean": "rm -rf js",
13
-    "test": "mocha js/test/Test.js"
13
+    "test": "mocha js/test/Test.js",
14
+    "doc": "typedoc --out docs ./src --readme none"
14 15
   },
15 16
   "author": "",
16 17
   "license": "ISC",
@@ -24,6 +25,7 @@
24 25
     "terser-webpack-plugin": "^2.1.0",
25 26
     "ts-loader": "^5.3.3",
26 27
     "ts-mocha": "^6.0.0",
28
+    "typedoc": "^0.15.0",
27 29
     "typescript": "^3.5.3",
28 30
     "webpack": "^4.40.2",
29 31
     "webpack-cli": "^3.3.9"

+ 1
- 4
src/Backend.ts Visa fil

@@ -18,7 +18,6 @@ export class RPCServer<
18 18
     private errorHandler: T.ErrorHandler
19 19
     private connectionHandler: T.ConnectionHandler
20 20
 
21
-
22 21
     constructor(
23 22
         private port:number,
24 23
         private exporters: I.Exporter<SubResType>[] = [],
@@ -52,7 +51,6 @@ export class RPCServer<
52 51
             \n<------------OFFENDING RPC:
53 52
             \n`+badRPC.toString()+`
54 53
             \n>------------OFFENDING RPC`)
55
-
56 54
         this.startWebsocket()
57 55
     }
58 56
 
@@ -61,7 +59,7 @@ export class RPCServer<
61 59
             this.io.attach(this.ws)
62 60
             this.io.on('socket', (socket:I.Socket) => {
63 61
                 socket.on('error', (err) => this.errorHandler(socket, err))
64
-                socket.on('close', ()=> this.closeHandler(socket))
62
+                socket.on('close', () => this.closeHandler(socket))
65 63
                 this.connectionHandler(socket)
66 64
                 this.initRPCs(socket)
67 65
             })
@@ -74,7 +72,6 @@ export class RPCServer<
74 72
 
75 73
     protected initRPCs(socket:I.Socket){
76 74
         socket.hook('info', () => rpcInfos)
77
-
78 75
         const rpcInfos:T.ExtendedRpcInfo[] = [
79 76
             ...this.exporters.flatMap(exporter => U.rpcHooker(socket, exporter))
80 77
         ]

+ 1
- 1
src/Types.ts Visa fil

@@ -21,7 +21,7 @@ export type Outcome = "Success" | "Error"
21 21
 
22 22
 export type Respose<T> = T & { result: Outcome }
23 23
 export type SuccessResponse<T = {}> = Respose<T> & { result: "Success" } 
24
-export type ErrorResponse<T = {}> = Respose<T> & { result: "Error" }
24
+export type ErrorResponse<T = {}> = Respose<T> & { result: "Error", message?:string }
25 25
 export type SubscriptionResponse<T = {}> = Respose<T> & { result: "Success"; uuid: string }
26 26
 
27 27
 export type RPCType = 'Hook' | 'Unhook' | 'Call'

+ 1
- 0
src/Utils.ts Visa fil

@@ -4,6 +4,7 @@ import * as T from "./Types";
4 4
 import * as I from "./Interfaces";
5 5
 import { SubscriptionResponse } from "./Types";
6 6
 
7
+
7 8
 export const rpcToRpcinfo = <SubResT = {}>(rpc : T.RPC<SubResT>, owner: T.Owner):T.RpcInfo => {
8 9
     switch (typeof rpc){
9 10
         case  "object":

Laddar…
Avbryt
Spara