mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Add a method to extract the socket from the device
This commit is contained in:
@@ -116,6 +116,10 @@ impl Idevice {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_socket(self) -> Option<Box<dyn ReadWrite>> {
|
||||
self.socket
|
||||
}
|
||||
|
||||
/// Queries the device type
|
||||
///
|
||||
/// Sends a QueryType request and parses the response
|
||||
|
||||
Reference in New Issue
Block a user