File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1246,12 +1246,16 @@ empty object when the key exchange is not ephemeral. The supported types are
1246
1246
1247
1247
For example: ` { type: 'ECDH', name: 'prime256v1', size: 256 } ` .
1248
1248
1249
- #### ` quicclientsession.setSocket(socket]) `
1249
+ #### ` quicclientsession.setSocket(socket[, natRebinding ]) `
1250
1250
<!-- YAML
1251
1251
added: REPLACEME
1252
1252
-->
1253
1253
1254
1254
* ` socket ` {QuicSocket} A ` QuicSocket ` instance to move this session to.
1255
+ * ` natRebinding ` {boolean} When ` true ` , indicates that the local address is to
1256
+ be changed without triggering address validation. This will be rare and will
1257
+ typically be used only to test resiliency in NAT rebind scenarios.
1258
+ ** Default** : ` false ` .
1255
1259
* Returns: {Promise}
1256
1260
1257
1261
Migrates the ` QuicClientSession ` to the given ` QuicSocket ` instance. If the new
You can’t perform that action at this time.
0 commit comments