Agent-TCLI-Package-Net
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Agent/TCLI/Package/Net/HTTP.pm view on Meta::CPAN
timeout => 120, # defaults to 120
));
$self->set(\@poco_http , POE::Component::Client::HTTP->spawn(
Agent => $self->user_agents,
Alias => 'http-client', # defaults to 'weeble'
ConnectionManager => $poco_cm[$$self],
# From => 'spiffster@perl.org', # defaults to undef (no header)
# CookieJar => $cookie_jar,
# Protocol => 'HTTP/1.1', # defaults to 'HTTP/1.1'
# Timeout => 180, # defaults to 180 seconds
# MaxSize => 16384, # defaults to entire response
# Streaming => 4096, # defaults to 0 (off)
# FollowRedirects => 2 # defaults to 0 (off)
# Proxy => "http://localhost:80", # defaults to HTTP_PROXY env. variable
# NoProxy => [ "localhost", "127.0.0.1" ], # defs to NO_PROXY env. variable
));
$self->Verbose(" Dump ".$self->dump(1),3 );
}
lib/Agent/TCLI/Package/Net/Ping.pm view on Meta::CPAN
# There is only one command object per TCLI
$kernel->alias_set($self->name);
# Keep the pinger session so we can shut it down
# Create a pinger component.
# $self->set(\@poco_pinger,
POE::Component::Client::Ping->spawn(
Alias => 'pinger', # This is the name it'll be known by.
Timeout => 10, # This is how long it waits for echo replies.
OneReply => 1, # Only tell us when success or timeout
);
return($self->name.":_start complete ");
} #end start
sub _stop {
my ($kernel, $self,) =
@_[KERNEL, OBJECT,];
$self->Verbose("_stop: ".$self->name." stopping",2);
lib/Agent/TCLI/Package/Net/SMTP.pm view on Meta::CPAN
in which case you need to set this parameter to the correct
value to match your setup.
type: Param
---
Agent::TCLI::Parameter:
name: timeout
constraints:
- UINT
class: numeric
default: 30
help: Timeout in seconds
manual: >
The timeout in seconds for the SMTP transaction. The default is 30 seconds.
type: Param
---
Agent::TCLI::Parameter:
name: textfile
constraints:
- ASCII
help: A file of plain text for the message body.
manual: >
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.510 second using v1.00-cache-2.02-grep-82fe00e-cpan-c30982ac1bc3 )