XHTTP: Usage of -1 in keepAlivePeriod

This commit is contained in:
风扇滑翔翼 2024-12-09 01:29:29 +08:00 committed by GitHub
parent 13ece0aca6
commit dcc39472dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@ XHTTP 的HTTP请求中所发送的host默认值为空。若服务端值为空
> `keepAlivePeriod` int
发送保活请求的时间间隔,单位秒。
发送保活请求的时间间隔,单位秒,设置为 `-1` 代表禁用该功能
当使用 H2 和 H3 时分别对应 h2 ping 帧和 QUIC ping 帧。