NAME

Rui::Server::HTTP - a session-aware HTTP-based Rui server


SYNOPSIS

  use Rui::Server::HTTP;
  Rui::Server::HTTP->new(
     LogFile   => "server.log",  # "-" for stdout
     LocalPort => 8888,
  )->run;


SUPERCLASS

the Rui::Server::Base manpage


REQUIRES

the Rui::Remote::ClientMessage manpage


DESCRIPTION

A subclass of the Rui::Server::Base manpage. This server implementation uses HTTP::Daemon to communicate with clients. Intended for web-browser based clients.


METHODS

new

description
Create a new server. Inherits all initialization parameters of Rui::Server::Base, HTTP::Daemon and IO::Socket::INET.

New named parameters:

DocumentRoot - overrides the project's document root that defaults to ``$Rui::PROJECT_HOME/web''.

parameters
Hash of named parameters. These are passed to the Rui::Server::Base manpage and to HTTP::Daemon.