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