Test::Reporter::Transport::HTTPGateway - HTTP transport for Test::Reporter
my $report = Test::Reporter->new( transport => 'HTTPGateway', transport_args => [ $url, $key ], );
This module transmits a Test::Reporter report via HTTP to a Test::Reporter::HTTPGateway server (or something with an equivalent API).
$report->transport_args( $url, $key );
This transport class accepts two positional arguments. The first is required and specifies the URL for the HTTPGateway server. The second argument specifies an API key to transmit to the gatway. It is optional for the transport class, but may be required by particular gateway servers.
These methods are only for internal use by Test::Reporter.
my $sender = Test::Reporter::Transport::HTTPGateway->new( @args );
new method is the object constructor.
$sender->send( $report );
send method transmits the report.
David A. Golden (DAGOLDEN)
Ricardo Signes (RJBS)
Copyright (C) 2008 David A. Golden Copyright (C) 2008 Ricardo Signes All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.