@@ -120,14 +120,18 @@ <h5>Parameters:</h5>
120120Properties of the object:
121121< ul >
122122 < 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 >
127129 < 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 >
129132 < 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 >
131135</ ul >
132136</ p > </ td >
133137 </ tr >
@@ -327,7 +331,7 @@ <h5>Parameters:</h5>
327331
328332 < dt class ="tag-source "> Source:</ dt >
329333 < 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 >
331335 </ li > </ ul > </ dd >
332336
333337
@@ -416,7 +420,7 @@ <h4 class="name" id="atNow"><span class="type-signature"></span>atNow<span class
416420
417421 < dt class ="tag-source "> Source:</ dt >
418422 < 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 >
420424 </ li > </ ul > </ dd >
421425
422426
@@ -576,7 +580,7 @@ <h5>Parameters:</h5>
576580
577581 < dt class ="tag-source "> Source:</ dt >
578582 < 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 >
580584 </ li > </ ul > </ dd >
581585
582586
@@ -687,7 +691,7 @@ <h4 class="name" id="close"><span class="type-signature">(async) </span>close<sp
687691
688692 < dt class ="tag-source "> Source:</ dt >
689693 < 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 >
691695 </ li > </ ul > </ dd >
692696
693697
@@ -882,7 +886,7 @@ <h5>Parameters:</h5>
882886
883887 < dt class ="tag-source "> Source:</ dt >
884888 < 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 >
886890 </ li > </ ul > </ dd >
887891
888892
@@ -1064,7 +1068,7 @@ <h5>Parameters:</h5>
10641068
10651069 < dt class ="tag-source "> Source:</ dt >
10661070 < 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 >
10681072 </ li > </ ul > </ dd >
10691073
10701074
@@ -1175,7 +1179,7 @@ <h4 class="name" id="flush"><span class="type-signature">(async) </span>flush<sp
11751179
11761180 < dt class ="tag-source "> Source:</ dt >
11771181 < 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 >
11791183 </ li > </ ul > </ dd >
11801184
11811185
@@ -1357,7 +1361,7 @@ <h5>Parameters:</h5>
13571361
13581362 < dt class ="tag-source "> Source:</ dt >
13591363 < 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 >
13611365 </ li > </ ul > </ dd >
13621366
13631367
@@ -1468,7 +1472,7 @@ <h4 class="name" id="reset"><span class="type-signature"></span>reset<span class
14681472
14691473 < dt class ="tag-source "> Source:</ dt >
14701474 < 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 >
14721476 </ li > </ ul > </ dd >
14731477
14741478
@@ -1629,7 +1633,7 @@ <h5>Parameters:</h5>
16291633
16301634 < dt class ="tag-source "> Source:</ dt >
16311635 < 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 >
16331637 </ li > </ ul > </ dd >
16341638
16351639
@@ -1789,7 +1793,7 @@ <h5>Parameters:</h5>
17891793
17901794 < dt class ="tag-source "> Source:</ dt >
17911795 < 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 >
17931797 </ li > </ ul > </ dd >
17941798
17951799
@@ -1971,7 +1975,7 @@ <h5>Parameters:</h5>
19711975
19721976 < dt class ="tag-source "> Source:</ dt >
19731977 < 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 >
19751979 </ li > </ ul > </ dd >
19761980
19771981
@@ -2130,7 +2134,7 @@ <h5>Parameters:</h5>
21302134
21312135 < dt class ="tag-source "> Source:</ dt >
21322136 < 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 >
21342138 </ li > </ ul > </ dd >
21352139
21362140
@@ -2312,7 +2316,7 @@ <h5>Parameters:</h5>
23122316
23132317 < dt class ="tag-source "> Source:</ dt >
23142318 < 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 >
23162320 </ li > </ ul > </ dd >
23172321
23182322
@@ -2386,7 +2390,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-@q
23862390< br class ="clear ">
23872391
23882392< 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)
23902394</ footer >
23912395
23922396< script > prettyPrint ( ) ; </ script >
0 commit comments