mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-19 09:45:20 +00:00
18 lines
376 B
Rust
18 lines
376 B
Rust
pub struct NegotiationPacket {
|
|
conn_id: u64,
|
|
version: u32,
|
|
supported: Vec<u32>,
|
|
}
|
|
|
|
pub enum TransportParameter {
|
|
InitialMaxStreamData(u32),
|
|
InitialMaxData(u32),
|
|
InitialMaxStreamIdBidi(u32),
|
|
IdleTimeout(u16),
|
|
OmitConnectionId,
|
|
MaxPacketSize(u16),
|
|
StatelessResetToken(Vec<u8>),
|
|
AckDelayExponent(u8),
|
|
InitialMaxStreamIdUni(u32),
|
|
}
|