@@ -853,6 +853,17 @@ added: v23.8.0
853853
854854True if ` session.destroy() ` has been called. Read only.
855855
856+ ### ` session.localTransportParams `
857+
858+ <!-- YAML
859+ added: REPLACEME
860+ -->
861+
862+ * Type: {quic.TransportParams|null}
863+
864+ The transport parameters advertised by the local endpoint during the handshake.
865+ Returns ` null ` if the session has been destroyed. Read only.
866+
856867### ` session.endpoint `
857868
858869<!-- YAML
@@ -1146,6 +1157,19 @@ added: v23.8.0
11461157
11471158The local and remote socket addresses associated with the session. Read only.
11481159
1160+ ### ` session.remoteTransportParams `
1161+
1162+ <!-- YAML
1163+ added: REPLACEME
1164+ -->
1165+
1166+ * Type: {quic.TransportParams|null|undefined}
1167+
1168+ The transport parameters advertised by the remote peer during the handshake.
1169+ Returns ` null ` if the session has been destroyed, ` undefined ` if the handshake
1170+ has not yet completed and the remote parameters are not yet available. Read
1171+ only.
1172+
11491173### ` session.sendDatagram(datagram[, encoding]) `
11501174
11511175<!-- YAML
@@ -2953,6 +2977,37 @@ won't have need to specify.
29532977added: v23.8.0
29542978-->
29552979
2980+ The ` TransportParams ` type represents the QUIC transport parameters that are
2981+ negotiated during session establishment. These parameters are used when
2982+ creating a session. The negotiated values can be observed via the
2983+ ` session.localTransportParams ` and ` session.remoteTransportParams ` properties.
2984+
2985+ #### ` transportParams.initialSCID `
2986+
2987+ <!-- YAML
2988+ added: REPLACEME
2989+ -->
2990+
2991+ * Type: {string}
2992+
2993+ The initial source connection ID (SCID) specified. This field is ignored on
2994+ creation of the session and is provided for informational purposes only when
2995+ available in the ` session.localTransportParams ` and
2996+ ` session.remoteTransportParams ` properties.
2997+
2998+ #### ` transportParams.originalDCID `
2999+
3000+ <!-- YAML
3001+ added: REPLACEME
3002+ -->
3003+
3004+ * Type: {string}
3005+
3006+ The original destination connection ID (DCID) specified. This field is
3007+ ignored on creation of the session and is provided for informational
3008+ purposes only when available in the ` session.localTransportParams ` and
3009+ ` session.remoteTransportParams ` properties.
3010+
29563011#### ` transportParams.preferredAddressIpv4 `
29573012
29583013<!-- YAML
@@ -3066,6 +3121,19 @@ will not send datagrams larger than this value. The actual maximum size of
30663121a datagram that can be _ sent_ is determined by the peer's
30673122` maxDatagramFrameSize ` , not this endpoint's value.
30683123
3124+ #### ` transportParams.retrySCID `
3125+
3126+ <!-- YAML
3127+ added: REPLACEME
3128+ -->
3129+
3130+ * Type: {string}
3131+
3132+ The retry connection ID specified. This field is ignored on creation
3133+ of the session and is provided for informational purposes only when
3134+ available in the ` session.localTransportParams ` and
3135+ ` session.remoteTransportParams ` properties.
3136+
30693137## Callbacks
30703138
30713139### Callback error handling
0 commit comments