Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.13 KB

VpnApi.md

File metadata and controls

56 lines (35 loc) · 1.13 KB

@LetheanSdpApollo.VpnApi

All URIs are relative to http://localhost

Method HTTP request Description
startLetheand GET /letheand/start

startLetheand

startLetheand(dataDir, opts)

Example

import @LetheanSdpApollo from '@lethean/sdp-apollo';

let apiInstance = new @LetheanSdpApollo.VpnApi();
let dataDir = "dataDir_example"; // String | Returns the binary version
let opts = {
  'version': true // Boolean | Returns the binary version
};
apiInstance.startLetheand(dataDir, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});

Parameters

Name Type Description Notes
dataDir String Returns the binary version
version Boolean Returns the binary version [optional]

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined