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

Safe HaskellNone

Program.Mighty.Route

Contents

Synopsis

Paring a routing file

parseRouteSource

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 = PathSource

A logical path specified in URL.

type Dst = PathSource

A physical path in a file system.