hasBody method

bool hasBody(
  1. int streamId
)

True if the stream has pending DATA frames.

Implementation

bool hasBody(int streamId) =>
    _pendingData.containsKey(streamId) && _pendingData[streamId]!.isNotEmpty;