Struct ws_lite::dataframe::DataFrame [−][src]
pub struct DataFrame { /* fields omitted */ }
Implementations
impl DataFrame
[src]
impl DataFrame
[src]pub fn new(data: Vec<u8>) -> DataFrame
[src]
pub fn is_fin(&self) -> bool
[src]
pub fn is_rsv1(&self) -> bool
[src]
pub fn is_rsv2(&self) -> bool
[src]
pub fn is_rsv3(&self) -> bool
[src]
pub fn get_opcode(&self) -> u8
[src]
pub fn get_opcode(&self) -> u8
[src]Get the last four bits in one byte in first frame