ruma_common::http_headers

Function is_token

Source
pub fn is_token(bytes: &[u8]) -> bool
Expand description

Whether the given bytes slice is a token.