-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add encryption support * Cleanup * Hook channels * Show fingerprint in Ui * Disconnect client properly * Cleanups * Minor Fixes * Minor Fixes * Update Ios
- Loading branch information
1 parent
bc0e6b4
commit 5c33874
Showing
68 changed files
with
8,460 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
rust_input: crate::api | ||
rust_root: rust/ | ||
dart_output: lib/app/rust |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// This file is automatically generated, so please do not edit it. | ||
// @generated by `flutter_rust_bridge`@ 2.6.0. | ||
|
||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import | ||
|
||
import '../frb_generated.dart'; | ||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; | ||
|
||
// These functions are ignored because they are not marked as `pub`: `get_certificate` | ||
|
||
Future<(SenderWrapper, ReceiverWrapper)> createChannel() => | ||
RustLib.instance.api.crateApiLanMouseServerCreateChannel(); | ||
|
||
/// Start a UdbSocket and create connection with given Client | ||
Stream<Uint8List> connect( | ||
{required String basePath, | ||
required String ipAddr, | ||
required int port, | ||
required String targetAddr, | ||
required int targetPort, | ||
required ReceiverWrapper rx}) => | ||
RustLib.instance.api.crateApiLanMouseServerConnect( | ||
basePath: basePath, | ||
ipAddr: ipAddr, | ||
port: port, | ||
targetAddr: targetAddr, | ||
targetPort: targetPort, | ||
rx: rx); | ||
|
||
Future<String?> getFingerprint({required String path}) => | ||
RustLib.instance.api.crateApiLanMouseServerGetFingerprint(path: path); | ||
|
||
// Rust type: RustOpaqueMoi<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<ReceiverWrapper>> | ||
abstract class ReceiverWrapper implements RustOpaqueInterface {} | ||
|
||
// Rust type: RustOpaqueMoi<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<SenderWrapper>> | ||
abstract class SenderWrapper implements RustOpaqueInterface { | ||
Future<void> send({required List<int> data}); | ||
} |
Oops, something went wrong.