[domistream] WIP: rustfmt, doc link, clippy fixes (one collapsible-if left in rtsp/mod.rs), PROTOCOL.md status
Paused at Mark's request.
This commit is contained in:
@@ -170,13 +170,7 @@ impl RtspClient {
|
||||
Ok(c)
|
||||
}
|
||||
|
||||
fn queue(
|
||||
&mut self,
|
||||
method: Method,
|
||||
target: &str,
|
||||
mut extra: Vec<(String, String)>,
|
||||
body: Vec<u8>,
|
||||
) -> Result<()> {
|
||||
fn queue(&mut self, method: Method, target: &str, mut extra: Vec<(String, String)>, body: Vec<u8>) -> Result<()> {
|
||||
self.cseq = self.cseq.wrapping_add(1);
|
||||
let mut headers = vec![("CSeq".to_owned(), self.cseq.to_string())];
|
||||
headers.push(("X-GS-ClientVersion".to_owned(), CLIENT_VERSION.to_owned()));
|
||||
|
||||
Reference in New Issue
Block a user