Module

Node.Express.Types

Package
purescript-express
Repository
nkly/purescript-express

#EXPRESS Source

data EXPRESS :: Effect

#ExpressM Source

type ExpressM e a = Eff (express :: EXPRESS | e) a

General monad, indicates that we're dealing with express.js related functions. Applications should use HandlerM and AppM primarily and ExpressM in rare cases.

#Application Source

#Event Source

data Event :: Type

#Response Source

data Response :: Type

#Request Source

data Request :: Type

#Protocol Source

#Host Source

type Host = String

#Port Source

type Port = Int

#Pipe Source

type Pipe = String

#Path Source

type Path = String

#CookieOptions Source

newtype CookieOptions

Cookie options

  • maxAge -- time in msecs
  • signed -- use secret to sign if true
  • path -- cookie path

Constructors

Instances