getPushResponse method

Http3Response? getPushResponse(
  1. int pushId
)

Returns the push response delivered for pushId, or null if no push stream carrying that push ID has been received yet.

On the client side, once a push stream is received and its push ID matches a registered promise, the decoded Http3Response is stored and made available through this getter.

Implementation

Http3Response? getPushResponse(int pushId) => _pushResponses[pushId];