NAME

Thrall::Server - Core class for a Thrall server

SYNOPSIS

use Thrall::Server;

my $server = Thrall::Server->new(port  => $port);
$server->run(sub { [200, ['Content-Type', 'text/plain'], ['PSGI app']] });

DESCRIPTION

This is a core class for a Thrall server. It should be used by a Plack::Handler::Thrall handler when started with `plackup` command.

SEE ALSO

thrall, Thrall, Plack, Plack::Runner.

LICENSE

Copyright (c) 2013-2016, 2023 Piotr Roszatycki <dexter@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.

See http://dev.perl.org/licenses/artistic.html