@@ -120,14 +120,18 @@ <h5>Parameters:</h5>
120
120
Properties of the object:
121
121
< ul >
122
122
< li > bufferSize: < i > number</ i > - Size of the buffer used by the sender to collect rows, provided in bytes. < br >
123
- Optional, defaults to 8192 bytes </ li >
124
- < li > copyBuffer: < i > boolean</ i > - If true a new buffer will be created for every flush() call and the data to be sent to the server will be copied into this new buffer. < br >
125
- Setting the flag could result in performance degradation, use this flag only if calls to the client cannot be serialised. < br >
126
- Optional, defaults to false </ li >
123
+ Optional, defaults to 8192 bytes. < br >
124
+ If the value passed is not a number, the setting is ignored. </ li >
125
+ < li > copyBuffer: < i > boolean</ i > - By default a new buffer is created for every flush() call, and the data to be sent to the server is copied into this new buffer.
126
+ Setting the flag to < i > false</ i > results in reusing the same buffer instance for each flush() call. Use this flag only if calls to the client are serialised. < br >
127
+ Optional, defaults to < i > true</ i > . < br >
128
+ If the value passed is not a boolean, the setting is ignored. </ li >
127
129
< li > jwk: < i > {x: string, y: string, kid: string, kty: string, d: string, crv: string}</ i > - JsonWebKey for authentication. < br >
128
- If not provided, client is not authenticated and server might reject the connection depending on configuration.</ li >
130
+ If not provided, client is not authenticated and server might reject the connection depending on configuration. < br >
131
+ No type checks performed on the object passed. </ li >
129
132
< 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 >
133
+ If not provided, default logging is used which writes to the console with logging level < i > info</ i > . < br >
134
+ If not a function passed, the setting is ignored. </ li >
131
135
</ ul >
132
136
</ p > </ td >
133
137
</ tr >
@@ -327,7 +331,7 @@ <h5>Parameters:</h5>
327
331
328
332
< dt class ="tag-source "> Source:</ dt >
329
333
< dd class ="tag-source "> < ul class ="dummy "> < li >
330
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line356 "> line 356 </ a >
334
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line361 "> line 361 </ a >
331
335
</ li > </ ul > </ dd >
332
336
333
337
@@ -416,7 +420,7 @@ <h4 class="name" id="atNow"><span class="type-signature"></span>atNow<span class
416
420
417
421
< dt class ="tag-source "> Source:</ dt >
418
422
< dd class ="tag-source "> < ul class ="dummy "> < li >
419
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line375 "> line 375 </ a >
423
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line380 "> line 380 </ a >
420
424
</ li > </ ul > </ dd >
421
425
422
426
@@ -576,7 +580,7 @@ <h5>Parameters:</h5>
576
580
577
581
< dt class ="tag-source "> Source:</ dt >
578
582
< dd class ="tag-source "> < ul class ="dummy "> < li >
579
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line287 "> line 287 </ a >
583
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line292 "> line 292 </ a >
580
584
</ li > </ ul > </ dd >
581
585
582
586
@@ -687,7 +691,7 @@ <h4 class="name" id="close"><span class="type-signature">(async) </span>close<sp
687
691
688
692
< dt class ="tag-source "> Source:</ dt >
689
693
< dd class ="tag-source "> < ul class ="dummy "> < li >
690
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line167 "> line 167 </ a >
694
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line172 "> line 172 </ a >
691
695
</ li > </ ul > </ dd >
692
696
693
697
@@ -882,7 +886,7 @@ <h5>Parameters:</h5>
882
886
883
887
< dt class ="tag-source "> Source:</ dt >
884
888
< dd class ="tag-source "> < ul class ="dummy "> < li >
885
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line111 "> line 111 </ a >
889
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line116 "> line 116 </ a >
886
890
</ li > </ ul > </ dd >
887
891
888
892
@@ -1064,7 +1068,7 @@ <h5>Parameters:</h5>
1064
1068
1065
1069
< dt class ="tag-source "> Source:</ dt >
1066
1070
< dd class ="tag-source "> < ul class ="dummy "> < li >
1067
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line302 "> line 302 </ a >
1071
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line307 "> line 307 </ a >
1068
1072
</ li > </ ul > </ dd >
1069
1073
1070
1074
@@ -1175,7 +1179,7 @@ <h4 class="name" id="flush"><span class="type-signature">(async) </span>flush<sp
1175
1179
1176
1180
< dt class ="tag-source "> Source:</ dt >
1177
1181
< dd class ="tag-source "> < ul class ="dummy "> < li >
1178
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line180 "> line 180 </ a >
1182
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line185 "> line 185 </ a >
1179
1183
</ li > </ ul > </ dd >
1180
1184
1181
1185
@@ -1357,7 +1361,7 @@ <h5>Parameters:</h5>
1357
1361
1358
1362
< dt class ="tag-source "> Source:</ dt >
1359
1363
< dd class ="tag-source "> < ul class ="dummy "> < li >
1360
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line318 "> line 318 </ a >
1364
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line323 "> line 323 </ a >
1361
1365
</ li > </ ul > </ dd >
1362
1366
1363
1367
@@ -1468,7 +1472,7 @@ <h4 class="name" id="reset"><span class="type-signature"></span>reset<span class
1468
1472
1469
1473
< dt class ="tag-source "> Source:</ dt >
1470
1474
< dd class ="tag-source "> < ul class ="dummy "> < li >
1471
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line97 "> line 97 </ a >
1475
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line102 "> line 102 </ a >
1472
1476
</ li > </ ul > </ dd >
1473
1477
1474
1478
@@ -1629,7 +1633,7 @@ <h5>Parameters:</h5>
1629
1633
1630
1634
< dt class ="tag-source "> Source:</ dt >
1631
1635
< dd class ="tag-source "> < ul class ="dummy "> < li >
1632
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line82 "> line 82 </ a >
1636
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line87 "> line 87 </ a >
1633
1637
</ li > </ ul > </ dd >
1634
1638
1635
1639
@@ -1789,7 +1793,7 @@ <h5>Parameters:</h5>
1789
1793
1790
1794
< dt class ="tag-source "> Source:</ dt >
1791
1795
< dd class ="tag-source "> < ul class ="dummy "> < li >
1792
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line270 "> line 270 </ a >
1796
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line275 "> line 275 </ a >
1793
1797
</ li > </ ul > </ dd >
1794
1798
1795
1799
@@ -1971,7 +1975,7 @@ <h5>Parameters:</h5>
1971
1975
1972
1976
< dt class ="tag-source "> Source:</ dt >
1973
1977
< dd class ="tag-source "> < ul class ="dummy "> < li >
1974
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line245 "> line 245 </ a >
1978
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line250 "> line 250 </ a >
1975
1979
</ li > </ ul > </ dd >
1976
1980
1977
1981
@@ -2130,7 +2134,7 @@ <h5>Parameters:</h5>
2130
2134
2131
2135
< dt class ="tag-source "> Source:</ dt >
2132
2136
< dd class ="tag-source "> < ul class ="dummy "> < li >
2133
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line224 "> line 224 </ a >
2137
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line229 "> line 229 </ a >
2134
2138
</ li > </ ul > </ dd >
2135
2139
2136
2140
@@ -2312,7 +2316,7 @@ <h5>Parameters:</h5>
2312
2316
2313
2317
< dt class ="tag-source "> Source:</ dt >
2314
2318
< dd class ="tag-source "> < ul class ="dummy "> < li >
2315
- < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line338 "> line 338 </ a >
2319
+ < a href ="src_sender.js.html "> src/sender.js</ a > , < a href ="src_sender.js.html#line343 "> line 343 </ a >
2316
2320
</ li > </ ul > </ dd >
2317
2321
2318
2322
@@ -2386,7 +2390,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
2386
2390
< br class ="clear ">
2387
2391
2388
2392
< footer >
2389
- Documentation generated by < a href ="https://github.com/jsdoc/jsdoc "> JSDoc 3.6.11</ a > on Wed May 17 2023 18:51:54 GMT+0100 (British Summer Time)
2393
+ Documentation generated by < a href ="https://github.com/jsdoc/jsdoc "> JSDoc 3.6.11</ a > on Fri May 26 2023 10:30:37 GMT+0100 (British Summer Time)
2390
2394
</ footer >
2391
2395
2392
2396
< script > prettyPrint ( ) ; </ script >
0 commit comments