mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
congestion stream types
This commit is contained in:
parent
d6c095fe7b
commit
f5b50bcc98
9 changed files with 103 additions and 62 deletions
|
@ -65,6 +65,10 @@ pub trait ProtocolExtension: std::fmt::Debug {
|
|||
///
|
||||
/// Used to decide whether to call the protocol extension's packet handler.
|
||||
fn get_supported_packets(&self) -> &'static [u8];
|
||||
/// Get stream types that should be treated as TCP.
|
||||
///
|
||||
/// Used to decide whether to handle congestion control for that stream type.
|
||||
fn get_congestion_stream_types(&self) -> &'static [u8];
|
||||
|
||||
/// Encode self into Bytes.
|
||||
fn encode(&self) -> Bytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue