Lines Matching full:socket
14 #[error("Error writing to or reading from HTTP socket")]
15 Socket(#[source] std::io::Error), enumerator
92 fn parse_http_response(socket: &mut dyn Read) -> Result<Option<String>, Error> { in parse_http_response()
98 let count = socket.read(&mut bytes).map_err(Error::Socket)?; in parse_http_response()
142 socket: &mut T, in simple_api_full_command_with_fds_and_response()
148 socket in simple_api_full_command_with_fds_and_response()
159 socket in simple_api_full_command_with_fds_and_response()
161 .map_err(Error::Socket)?; in simple_api_full_command_with_fds_and_response()
164 socket.write_all(b"\r\n").map_err(Error::Socket)?; in simple_api_full_command_with_fds_and_response()
167 socket in simple_api_full_command_with_fds_and_response()
169 .map_err(Error::Socket)?; in simple_api_full_command_with_fds_and_response()
172 socket.flush().map_err(Error::Socket)?; in simple_api_full_command_with_fds_and_response()
174 parse_http_response(socket) in simple_api_full_command_with_fds_and_response()
178 socket: &mut T, in simple_api_full_command_with_fds()
185 socket, in simple_api_full_command_with_fds()
200 socket: &mut T, in simple_api_full_command()
205 simple_api_full_command_with_fds(socket, method, full_command, request_body, Vec::new()) in simple_api_full_command()
209 socket: &mut T, in simple_api_full_command_and_response()
215 socket, in simple_api_full_command_and_response()
224 socket: &mut T, in simple_api_command_with_fds()
234 simple_api_full_command_with_fds(socket, method, &full_command, request_body, request_fds) in simple_api_command_with_fds()
238 socket: &mut T, in simple_api_command()
243 simple_api_command_with_fds(socket, method, c, request_body, Vec::new()) in simple_api_command()