File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 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
12461246
12471247For example: ` { type: 'ECDH', name: 'prime256v1', size: 256 } ` .
12481248
1249- #### ` quicclientsession.setSocket(socket]) `
1249+ #### ` quicclientsession.setSocket(socket[, natRebinding ]) `
12501250<!-- YAML
12511251added: REPLACEME
12521252-->
12531253
12541254* ` 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 ` .
12551259* Returns: {Promise}
12561260
12571261Migrates the ` QuicClientSession ` to the given ` QuicSocket ` instance. If the new
You can’t perform that action at this time.
0 commit comments