@@ -126,6 +126,8 @@ <h5>Parameters:</h5>
126
126
Optional, defaults to false </ li >
127
127
< li > jwk: < i > {x: string, y: string, kid: string, kty: string, d: string, crv: string}</ i > - JsonWebKey for authentication. < br >
128
128
If not provided, client is not authenticated and server might reject the connection depending on configuration.</ li >
129
+ < li > log: < i > (level: 'error'|'warn'|'info'|'debug', message: string) => void</ i > - logging function. < br >
130
+ If not provided, default logging is used which writes to the console with logging level 'info'.</ li >
129
131
</ ul >
130
132
</ p > </ td >
131
133
</ tr >
@@ -168,7 +170,7 @@ <h5>Parameters:</h5>
168
170
169
171
< dt class ="tag-source "> Source:</ dt >
170
172
< dd class ="tag-source "> < ul class ="dummy "> < li >
171
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line24 "> line 24 </ a >
173
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line25 "> line 25 </ a >
172
174
</ li > </ ul > </ dd >
173
175
174
176
@@ -325,7 +327,7 @@ <h5>Parameters:</h5>
325
327
326
328
< dt class ="tag-source "> Source:</ dt >
327
329
< dd class ="tag-source "> < ul class ="dummy "> < li >
328
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line351 "> line 351 </ a >
330
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line355 "> line 355 </ a >
329
331
</ li > </ ul > </ dd >
330
332
331
333
@@ -414,7 +416,7 @@ <h4 class="name" id="atNow"><span class="type-signature"></span>atNow<span class
414
416
415
417
< dt class ="tag-source "> Source:</ dt >
416
418
< dd class ="tag-source "> < ul class ="dummy "> < li >
417
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line370 "> line 370 </ a >
419
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line374 "> line 374 </ a >
418
420
</ li > </ ul > </ dd >
419
421
420
422
@@ -574,7 +576,7 @@ <h5>Parameters:</h5>
574
576
575
577
< dt class ="tag-source "> Source:</ dt >
576
578
< dd class ="tag-source "> < ul class ="dummy "> < li >
577
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line282 "> line 282 </ a >
579
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line286 "> line 286 </ a >
578
580
</ li > </ ul > </ dd >
579
581
580
582
@@ -685,7 +687,7 @@ <h4 class="name" id="close"><span class="type-signature">(async) </span>close<sp
685
687
686
688
< dt class ="tag-source "> Source:</ dt >
687
689
< dd class ="tag-source "> < ul class ="dummy "> < li >
688
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line159 "> line 159 </ a >
690
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line166 "> line 166 </ a >
689
691
</ li > </ ul > </ dd >
690
692
691
693
@@ -721,7 +723,7 @@ <h4 class="name" id="close"><span class="type-signature">(async) </span>close<sp
721
723
722
724
723
725
724
- < h4 class ="name " id ="connect "> < span class ="type-signature "> (async) </ span > connect< span class ="signature "> (options, secure< span class ="signature-attributes "> opt</ span > )</ span > < span class ="type-signature "> </ span > </ h4 >
726
+ < h4 class ="name " id ="connect "> < span class ="type-signature "> </ span > connect< span class ="signature "> (options, secure< span class ="signature-attributes "> opt</ span > )</ span > < span class ="type-signature "> → {Promise.<boolean > } </ span > </ h4 >
725
727
726
728
727
729
@@ -880,7 +882,7 @@ <h5>Parameters:</h5>
880
882
881
883
< dt class ="tag-source "> Source:</ dt >
882
884
< dd class ="tag-source "> < ul class ="dummy "> < li >
883
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line104 "> line 104 </ a >
885
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line111 "> line 111 </ a >
884
886
</ li > </ ul > </ dd >
885
887
886
888
@@ -905,6 +907,28 @@ <h5>Parameters:</h5>
905
907
906
908
907
909
910
+ < h5 > Returns:</ h5 >
911
+
912
+
913
+ < div class ="param-desc ">
914
+ Resolves to true if client is connected.
915
+ </ div >
916
+
917
+
918
+
919
+ < dl >
920
+ < dt >
921
+ Type
922
+ </ dt >
923
+ < dd >
924
+
925
+ < span class ="param-type "> Promise.<boolean> </ span >
926
+
927
+
928
+ </ dd >
929
+ </ dl >
930
+
931
+
908
932
909
933
910
934
@@ -1040,7 +1064,7 @@ <h5>Parameters:</h5>
1040
1064
1041
1065
< dt class ="tag-source "> Source:</ dt >
1042
1066
< dd class ="tag-source "> < ul class ="dummy "> < li >
1043
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line297 "> line 297 </ a >
1067
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line301 "> line 301 </ a >
1044
1068
</ li > </ ul > </ dd >
1045
1069
1046
1070
@@ -1151,7 +1175,7 @@ <h4 class="name" id="flush"><span class="type-signature">(async) </span>flush<sp
1151
1175
1152
1176
< dt class ="tag-source "> Source:</ dt >
1153
1177
< dd class ="tag-source "> < ul class ="dummy "> < li >
1154
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line175 "> line 175 </ a >
1178
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line179 "> line 179 </ a >
1155
1179
</ li > </ ul > </ dd >
1156
1180
1157
1181
@@ -1333,7 +1357,7 @@ <h5>Parameters:</h5>
1333
1357
1334
1358
< dt class ="tag-source "> Source:</ dt >
1335
1359
< dd class ="tag-source "> < ul class ="dummy "> < li >
1336
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line313 "> line 313 </ a >
1360
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line317 "> line 317 </ a >
1337
1361
</ li > </ ul > </ dd >
1338
1362
1339
1363
@@ -1444,7 +1468,7 @@ <h4 class="name" id="reset"><span class="type-signature"></span>reset<span class
1444
1468
1445
1469
< dt class ="tag-source "> Source:</ dt >
1446
1470
< dd class ="tag-source "> < ul class ="dummy "> < li >
1447
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line92 "> line 92 </ a >
1471
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line97 "> line 97 </ a >
1448
1472
</ li > </ ul > </ dd >
1449
1473
1450
1474
@@ -1605,7 +1629,7 @@ <h5>Parameters:</h5>
1605
1629
1606
1630
< dt class ="tag-source "> Source:</ dt >
1607
1631
< dd class ="tag-source "> < ul class ="dummy "> < li >
1608
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line77 "> line 77 </ a >
1632
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line82 "> line 82 </ a >
1609
1633
</ li > </ ul > </ dd >
1610
1634
1611
1635
@@ -1765,7 +1789,7 @@ <h5>Parameters:</h5>
1765
1789
1766
1790
< dt class ="tag-source "> Source:</ dt >
1767
1791
< dd class ="tag-source "> < ul class ="dummy "> < li >
1768
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line265 "> line 265 </ a >
1792
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line269 "> line 269 </ a >
1769
1793
</ li > </ ul > </ dd >
1770
1794
1771
1795
@@ -1947,7 +1971,7 @@ <h5>Parameters:</h5>
1947
1971
1948
1972
< dt class ="tag-source "> Source:</ dt >
1949
1973
< dd class ="tag-source "> < ul class ="dummy "> < li >
1950
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line240 "> line 240 </ a >
1974
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line244 "> line 244 </ a >
1951
1975
</ li > </ ul > </ dd >
1952
1976
1953
1977
@@ -2106,7 +2130,7 @@ <h5>Parameters:</h5>
2106
2130
2107
2131
< dt class ="tag-source "> Source:</ dt >
2108
2132
< dd class ="tag-source "> < ul class ="dummy "> < li >
2109
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line219 "> line 219 </ a >
2133
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line223 "> line 223 </ a >
2110
2134
</ li > </ ul > </ dd >
2111
2135
2112
2136
@@ -2288,7 +2312,7 @@ <h5>Parameters:</h5>
2288
2312
2289
2313
< dt class ="tag-source "> Source:</ dt >
2290
2314
< dd class ="tag-source "> < ul class ="dummy "> < li >
2291
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line333 "> line 333 </ a >
2315
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line337 "> line 337 </ a >
2292
2316
</ li > </ ul > </ dd >
2293
2317
2294
2318
@@ -2362,7 +2386,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
2362
2386
< br class ="clear ">
2363
2387
2364
2388
< footer >
2365
- Documentation generated by < a href ="https://github.com/jsdoc/jsdoc "> JSDoc 3.6.11</ a > on Wed Sep 21 2022 10:00:52 GMT+0100 (British Summer Time)
2389
+ Documentation generated by < a href ="https://github.com/jsdoc/jsdoc "> JSDoc 3.6.11</ a > on Wed Jan 04 2023 19:03:57 GMT+0000 (Greenwich Mean Time)
2366
2390
</ footer >
2367
2391
2368
2392
< script > prettyPrint ( ) ; </ script >
0 commit comments