mighttpd2-3.2.9: High performance web server on WAI/warp

Safe HaskellNone
LanguageHaskell2010

Program.Mighty.Route

Contents

Synopsis

Paring a routing file

parseRoute Source

Arguments

:: FilePath 
-> Domain

A default domain, typically "localhost"

-> Port

A default port, typically 80.

-> IO RouteDB 

Parsing a route file.

Types

data Block Source

Constructors

Block [Domain] [Route] 

Instances

type Src = Path Source

A logical path specified in URL.

type Dst = Path Source

A physical path in a file system.

type Port = Int Source

RouteDBRef