Sawyer X > Dancer2 > Dancer2::Core::Server::Standalone

Download:
Dancer2-0.13.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.13   Source  

NAME ^

Dancer2::Core::Server::Standalone - Basic standalone HTTP server for Dancer2

VERSION ^

version 0.13

DESCRIPTION ^

This is a server implementation for a stand-alone server. It contains all the code to start an HTTP::Server::Simple::PSGI server and handle the requests.

This class consumes the role Dancer2::Core::Server::Standalone.

ATTRIBUTES ^

backend

A HTTP::Server::Simple::PSGI server.

METHODS ^

name

The server's name: Standalone.

start

Starts the server.

valid_http_method

Overrides method inherited from HTTP::Server::Simple, allowing GET, POST, HEAD, PUT, DELETE, OPTIONS and PATCH requests.

AUTHOR ^

Dancer Core Developers

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: