This would solve...
Some http2 servers expect to receive PING frame during long periods of inactivity. For example, Apple's APNS service requires sending a PING in order to keep a connection alive. Note: keep alive is not enough.
The implementation should look like...
Both Pool and Client should expose a ping() method which calls the underlying Http2Session.ping() method.
Real-world issue
AndrewBarba/apns2#97
Real-world work around
AndrewBarba/apns2#98
This would solve...
Some http2 servers expect to receive PING frame during long periods of inactivity. For example, Apple's APNS service requires sending a PING in order to keep a connection alive. Note: keep alive is not enough.
The implementation should look like...
Both
PoolandClientshould expose aping()method which calls the underlyingHttp2Session.ping()method.Real-world issue
AndrewBarba/apns2#97
Real-world work around
AndrewBarba/apns2#98