mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Debug sending message plist
This commit is contained in:
@@ -69,6 +69,8 @@ impl Idevice {
|
||||
/// Sends a plist to the socket
|
||||
async fn send_plist(&mut self, message: plist::Value) -> Result<(), IdeviceError> {
|
||||
if let Some(socket) = &mut self.socket {
|
||||
debug!("Sending plist: {message:?}");
|
||||
|
||||
let buf = Vec::new();
|
||||
let mut writer = BufWriter::new(buf);
|
||||
message.to_writer_xml(&mut writer)?;
|
||||
|
||||
Reference in New Issue
Block a user