Search code examples
okhttphttp2

How to send a Ping frame by OkHttp?


How to send a Ping frame by OkHttp?


Solution

  • There’s no API to do it. If the HTTP/2 server pings it’ll reply, but the client never initiates pings.