docs(http): document consts CR, LR, and LINE_ENDING
This commit is contained in:
@@ -732,10 +732,11 @@ pub struct Incoming<S> {
|
|||||||
pub headers: Headers
|
pub headers: Headers
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const SP: u8 = b' ';
|
/// The `\r` byte.
|
||||||
pub const CR: u8 = b'\r';
|
pub const CR: u8 = b'\r';
|
||||||
|
/// The `\n` byte.
|
||||||
pub const LF: u8 = b'\n';
|
pub const LF: u8 = b'\n';
|
||||||
pub const STAR: u8 = b'*';
|
/// The bytes `\r\n`.
|
||||||
pub const LINE_ENDING: &'static str = "\r\n";
|
pub const LINE_ENDING: &'static str = "\r\n";
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|||||||
Reference in New Issue
Block a user