summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bec9149)
by setting the proxy for the LWP::UserAgent
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
return bless $self, $class;
}
return bless $self, $class;
}
+sub set_proxy($$) {
+ my ($self, $proxy) = @_;
+
+ $self->{ua}->proxy('https', $proxy);
+}
+
# RS256: PKCS#1 padding, no OAEP, SHA256
my $configure_key = sub {
my ($key) = @_;
# RS256: PKCS#1 padding, no OAEP, SHA256
my $configure_key = sub {
my ($key) = @_;