session.onearlyrejected
- 类型:<Function> | <undefined>
当服务器拒绝 0-RTT 早期数据时要调用的回调。当此回调触发时,在 0-RTT 阶段打开的所有流都已被销毁。如果需要,应用应重新打开流。读/写。
🌐 The callback to invoke when the server rejects 0-RTT early data. When this fires, all streams that were opened during the 0-RTT phase have been destroyed. The application should re-open streams if needed. Read/write.
当服务器拒绝客户端的 0-RTT 尝试时,此回调仅在客户端触发。连接将回退到 1-RTT 并正常继续。
🌐 This callback only fires on the client side when the server rejects the client's 0-RTT attempt. The connection falls back to 1-RTT and continues normally.