@@ -851,6 +851,17 @@ added: v23.8.0
851851
852852True if ` session.destroy() ` has been called. Read only.
853853
854+ ### ` session.localTransportParams `
855+
856+ <!-- YAML
857+ added: REPLACEME
858+ -->
859+
860+ * Type: {quic.TransportParams|null}
861+
862+ The transport parameters advertised by the local endpoint during the handshake.
863+ Returns ` null ` if the session has been destroyed. Read only.
864+
854865### ` session.endpoint `
855866
856867<!-- YAML
@@ -1144,6 +1155,19 @@ added: v23.8.0
11441155
11451156The local and remote socket addresses associated with the session. Read only.
11461157
1158+ ### ` session.remoteTransportParams `
1159+
1160+ <!-- YAML
1161+ added: REPLACEME
1162+ -->
1163+
1164+ * Type: {quic.TransportParams|null|undefined}
1165+
1166+ The transport parameters advertised by the remote peer during the handshake.
1167+ Returns ` null ` if the session has been destroyed, ` undefined ` if the handshake
1168+ has not yet completed and the remote parameters are not yet available. Read
1169+ only.
1170+
11471171### ` session.sendDatagram(datagram[, encoding]) `
11481172
11491173<!-- YAML
@@ -2947,6 +2971,37 @@ won't have need to specify.
29472971added: v23.8.0
29482972-->
29492973
2974+ The ` TransportParams ` type represents the QUIC transport parameters that are
2975+ negotiated during session establishment. These parameters are used when
2976+ creating a session. The negotiated values can be observed via the
2977+ ` session.localTransportParams ` and ` session.remoteTransportParams ` properties.
2978+
2979+ #### ` transportParams.initialSCID `
2980+
2981+ <!-- YAML
2982+ added: REPLACEME
2983+ -->
2984+
2985+ * Type: {string}
2986+
2987+ The initial source connection ID (SCID) specified. This field is ignored on
2988+ creation of the session and is provided for informational purposes only when
2989+ available in the ` session.localTransportParams ` and
2990+ ` session.remoteTransportParams ` properties.
2991+
2992+ #### ` transportParams.originalDCID `
2993+
2994+ <!-- YAML
2995+ added: REPLACEME
2996+ -->
2997+
2998+ * Type: {string}
2999+
3000+ The original destination connection ID (DCID) specified. This field is
3001+ ignored on creation of the session and is provided for informational
3002+ purposes only when available in the ` session.localTransportParams ` and
3003+ ` session.remoteTransportParams ` properties.
3004+
29503005#### ` transportParams.preferredAddressIpv4 `
29513006
29523007<!-- YAML
@@ -3060,6 +3115,19 @@ will not send datagrams larger than this value. The actual maximum size of
30603115a datagram that can be _ sent_ is determined by the peer's
30613116` maxDatagramFrameSize ` , not this endpoint's value.
30623117
3118+ #### ` transportParams.retrySCID `
3119+
3120+ <!-- YAML
3121+ added: REPLACEME
3122+ -->
3123+
3124+ * Type: {string}
3125+
3126+ The retry connection ID specified. This field is ignored on creation
3127+ of the session and is provided for informational purposes only when
3128+ available in the ` session.localTransportParams ` and
3129+ ` session.remoteTransportParams ` properties.
3130+
30633131## Callbacks
30643132
30653133### Callback error handling
0 commit comments