在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sergot/http-useragent开源软件地址:https://github.com/sergot/http-useragent开源编程语言:Raku 100.0%开源软件介绍:HTTP::UserAgentWeb user agent class for Perl 6. Usageuse HTTP::UserAgent;
my $ua = HTTP::UserAgent.new;
$ua.timeout = 10;
my $response = $ua.get("URL");
if $response.is-success {
say $response.content;
} else {
die $response.status-line;
} InstallationTo install it using Zef (a module management tool bundled with Rakudo Star):
TestingTo run tests:
DocumentationPlease see the documentation links listed below: To-do List and Future Ideas
HTTP::UserAgent
HTTP::Cookies
OpenSSL
IO::Socket::SSL
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论