Thrall::Server - Core class for a Thrall server
use Thrall::Server; my $server = Thrall::Server->new(port => $port); $server->run(sub { [200, ['Content-Type', 'text/plain'], ['PSGI app']] });
This is a core class for a Thrall server. It should be used by a Plack::Handler::Thrall handler when started with `plackup` command.
thrall, Thrall, Plack, Plack::Runner.
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
To install Thrall, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Thrall
CPAN shell
perl -MCPAN -e shell install Thrall
For more information on module installation, please visit the detailed CPAN module installation guide.