All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
start_letheand | GET /letheand/start |
start_letheand(data_dir, opts)
require 'time'
require 'letheanSDP'
api_instance = letheanSDPClient::VpnApi.new
data_dir = 'data_dir_example' # String | Returns the binary version
opts = {
version: true # Boolean | Returns the binary version
}
begin
api_instance.start_letheand(data_dir, opts)
rescue letheanSDPClient::ApiError => e
puts "Error when calling VpnApi->start_letheand: #{e}"
end
This returns an Array which contains the response data (nil
in this case), status code and headers.
<Array(nil, Integer, Hash)> start_letheand_with_http_info(data_dir, opts)
begin
data, status_code, headers = api_instance.start_letheand_with_http_info(data_dir, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => nil
rescue letheanSDPClient::ApiError => e
puts "Error when calling VpnApi->start_letheand_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
data_dir | String | Returns the binary version | |
version | Boolean | Returns the binary version | [optional] |
nil (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined