|
|
@@ -292,9 +292,9 @@ typedef NS_ENUM(NSInteger, PsiphonConnectionState)
|
|
|
Implementing this method is *required* if whole device mode is enabled (and otherwise should not be implemented).
|
|
|
The implementation of this must send the given packet to the device.
|
|
|
@param packet The data packet to send to the device.
|
|
|
- Swift: @code func send(toDevice packet: NSMutableData) @endcode
|
|
|
+ Swift: @code func send(toDevice packet: Data) @endcode
|
|
|
*/
|
|
|
-- (void)sendToDevice:(NSMutableData * _Nonnull)packet;
|
|
|
+- (void)sendToDevice:(NSData * _Nonnull)packet;
|
|
|
|
|
|
@end
|
|
|
|