canPush property

bool canPush

Whether a method to push will succeed. Requirements for this getter to return true are:

  • this stream must be in the Open or HalfClosedRemote state
  • the client needs to have the "enable push" settings enabled
  • the number of active streams has not reached the maximum

Implementation

bool get canPush;