Wire in PushPromise
This commit is contained in:
@@ -320,6 +320,14 @@ impl PushPromise {
|
||||
flags: flags,
|
||||
})
|
||||
}
|
||||
|
||||
pub fn stream_id(&self) -> StreamId {
|
||||
self.stream_id
|
||||
}
|
||||
|
||||
pub fn promised_id(&self) -> StreamId {
|
||||
self.promised_id
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> From<PushPromise> for Frame<T> {
|
||||
|
||||
Reference in New Issue
Block a user