Functionality to simplify using LTHN
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.2.2
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit https://lt.hn
Dart 2.0 or later
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
openapi:
git: https://github.com/LetheanMovement/sdp-api-dart.git
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
openapi:
path: /path/to/openapi
TODO
Please follow the installation procedure and then run the following:
import 'package:openapi/api.dart';
final api_instance = VpnApi();
final dataDir = dataDir_example; // String | Returns the binary version
final version = true; // bool | Returns the binary version
try {
api_instance.startLetheand(dataDir, version);
} catch (e) {
print('Exception when calling VpnApi->startLetheand: $e\n');
}
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
VpnApi | startLetheand | GET /letheand/start |
All endpoints do not require authorization.