https://github.com/goroya/react-native-iperf
https://github.com/goroya/react-native-iperf
iperf iperf3 javascript react react-native
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/goroya/react-native-iperf
- Owner: goroya
- Created: 2017-12-14T22:39:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T07:36:16.000Z (over 8 years ago)
- Last Synced: 2025-05-20T16:42:13.525Z (about 1 year ago)
- Topics: iperf, iperf3, javascript, react, react-native
- Language: Kotlin
- Size: 481 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-native-iperf
## Summary
[en]
This is iperf wrapper on react native.
Currently under development.
[ja]
これはReact NativeのIperfラッパです。
現在、開発中です。
## request
[en]
Please tell me how to build iperf3 for ios.
I am considering ios support in this library.
[ja]
iOSでのiperf3のビルド方法を教えてほしい。
わたしはこのライブラリのiOSサポートを検討している。
## Example
```js
await Iperf.init();
Iperf.on(Iperf.EVENT.START, (e) => { console.log("Iperf START", e); });
Iperf.on(Iperf.EVENT.OUTPUT, (e) => { console.log("Iperf OUTPUT", e); });
Iperf.on(Iperf.EVENT.CANCEL, (e) => { console.log("Iperf CANCEL", e); });
Iperf.on(Iperf.EVENT.END, (e) => { console.log("Iperf END", e); });
Iperf.on(Iperf.EVENT.ERROR, (e) => { console.log("Iperf ERROR", e); });
await Iperf.start("-s -p 2000");
await Iperf.cancel();
```