| 412 | } |
| 413 | |
| 414 | inline bool |
| 415 | Http2Stream::is_state_writeable() const |
| 416 | { |
| 417 | return _state == Http2StreamState::HTTP2_STREAM_STATE_OPEN || _state == Http2StreamState::HTTP2_STREAM_STATE_HALF_CLOSED_REMOTE || |
| 418 | _state == Http2StreamState::HTTP2_STREAM_STATE_RESERVED_LOCAL || |
| 419 | (this->is_outbound_connection() && _state == Http2StreamState::HTTP2_STREAM_STATE_IDLE); |
| 420 | } |
| 421 | |
| 422 | inline bool |
| 423 | Http2Stream::is_closed() const |
no test coverage detected