DTA::CAB::Server::HTTP::Handler::Response - CAB HTTP Server: request handler: static response
##========================================================================
## PRELIMINARIES
use DTA::CAB::Server::HTTP::Handler::Response;
##========================================================================
## Methods
$h = $class_or_obj->new(%options);
$rsp = $h->run($server, $localPath, $clientConn, $hreq);
$h = $class_or_obj->new(%options);
%$h, %options:
response => $obj, ##-- HTTP::Response object
$rsp = $h->run($server, $localPath, $clientConn, $hreq)
Returns $h->{response}, or sends a "404 not found" error to the client if not defined.
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2010-2019 by Bryan Jurish
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.1 or, at your option, any later version of Perl 5 you may have available.
DTA::CAB::Server::HTTP::Handler(3pm), DTA::CAB::Server::HTTP(3pm), DTA::CAB(3pm), perl(1), ...