mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-15 15:30:00 -04:00
wisp part 1
This commit is contained in:
parent
ad7a34e86d
commit
1f23c26db6
6 changed files with 117 additions and 46 deletions
|
@ -1,5 +1,5 @@
|
|||
mod packet;
|
||||
mod ws;
|
||||
pub mod ws;
|
||||
|
||||
pub use crate::packet::*;
|
||||
|
||||
|
|
|
@ -139,8 +139,8 @@ impl From<PacketType> for Vec<u8> {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub struct Packet {
|
||||
stream_id: u32,
|
||||
packet: PacketType,
|
||||
pub stream_id: u32,
|
||||
pub packet: PacketType,
|
||||
}
|
||||
|
||||
impl Packet {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue