use strict;
use warnings;
# for now, check switching to HTTP::Tiny or Hijk
use LWP::Simple;
use JSON;
use Exporter;
our @ISA = 'Exporter';
our @EXPORT = qw(
start_btsync
set_config
set
cally, you need
to name it btconfig and add its path to the environment path variable.
Sync uses JSON format for the configuration file.
Here is a sample config file that you can use to enable API:
t the listened address from.
Alternatively, you can use set_listened_address.
returns the config JSON parsed to a Perl HashRef.
=over 4
=item config_file (required)
Specifies path to the config fi