NAME
Starlight::Server - Core class for a Starlight server
SYNOPSIS
use Starlight::Server;
my $server = Starlight::Server->new(port => $port);
$server->run(sub { [200, ['Content-Type', 'text/plain'], ['PSGI app']] });
DESCRIPTION
This is a core class for a Starlight server. It should be used by a Plack::Handler::Starlight handler when started with `plackup` command.
SEE ALSO
starlight, Starlight, Plack, Plack::Runner.
LICENSE
Copyright (c) 2013-2016, 2020, 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.