Home
last modified time | relevance | path

Searched refs:header_end_idx (Results 1 – 2 of 2) sorted by relevance

/xiu/protocol/rtsp/src/http/
H A Dmod.rs28 let header_end_idx = if let Some(idx) = request_data.find("\r\n\r\n") { in unmarshal() localVariable
77 if request_data.len() > header_end_idx { in unmarshal()
79 rtsp_request.body = Some(request_data[header_end_idx..].to_string()); in unmarshal()
117 let header_end_idx = if let Some(idx) = request_data.find("\r\n\r\n") { in unmarshal() localVariable
149 if request_data.len() > header_end_idx { in unmarshal()
151 rtsp_response.body = Some(request_data[header_end_idx..].to_string()); in unmarshal()
/xiu/protocol/webrtc/src/http/
H A Dmod.rs57 let header_end_idx = if let Some(idx) = request_data.find("\r\n\r\n") { in unmarshal() localVariable
114 header_end_idx, in unmarshal()
118 if request_data.len() > header_end_idx { in unmarshal()
120 http_request.body = Some(request_data[header_end_idx..].to_string()); in unmarshal()
165 let header_end_idx = if let Some(idx) = request_data.find("\r\n\r\n") { in unmarshal() localVariable
197 if request_data.len() > header_end_idx { in unmarshal()
199 http_response.body = Some(request_data[header_end_idx..].to_string()); in unmarshal()