Alexis Sukrieh > Dancer-1.9999_01 > Dancer::Core::Runner

Download:
Dancer-1.9999_01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.9999_01   Source   Latest Release: Dancer-2.0000_01

NAME ^

Dancer::Core::Runner - Top-layer class to start a dancer app

VERSION ^

version 1.9999_01

DESCRIPTION ^

Runs Dancer app.

Inherits from Dancer::Core::Role::Config.

environment

The environment string. The options, in this order, are:

ATTRIBUTES ^

postponed_hooks

Postponed hooks will be applied at the end, when the hookable objects are instanciated, not before.

caller

The path to the caller script that is starting the app.

This is required in order to determine where the appdir is.

server

A read/write attribute to that holds the proper server.

It checks for an object that consumes the Dancer::Core::Role::Server role.

mime_type

A read/write attribute that holds a Dancer::Core::MIME object.

location

Absolute path to the directory where the server started.

METHODS ^

default_config

It then sets up the default configuration.

start

Runs finish (to set everything up) on all of the server's applications. It then Sets up the current server and starts it by calling its start method.

AUTHOR ^

Dancer Core Developers

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 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: