[][src]Function romp::session::ecg::parse_header

pub fn parse_header(
    hdr: &Header,
    session: &Arc<RwLock<StompSession>>
) -> Result<(), &'static str>

parse header and update the StompSession with expected heart-beat config