Module

Node.Express.Types

Package
purescript-express
Repository
purescript-express/purescript-express

#Application Source

#Event Source

data Event

#Response Source

#Request Source

data Request

#Protocol Source

data Protocol

Constructors

Instances

#decodeMethod Source

#Host Source

newtype Host

Constructors

#Port Source

newtype Port

Constructors

#Status Source

newtype Status

Constructors

#Pipe Source

newtype Pipe

Constructors

#Path Source

type Path = String

#DownloadFileName Source

#RoutePattern Source

#RequestParam Source

#SameSite Source

data SameSite

Cookie options

  • maxAge -- time in msecs
  • signed -- use secret to sign if true
  • path -- cookie path
  • sameSite -- "same site" cookie; can be "none", "lax", "strict"
  • secure -- whether the cookie is only to be sent over HTTPS
  • httpOnly -- whether the cookie is and not made available to JavaScript
  • overwrite -- whether to overwrite previously set cookies of the same name

Constructors

#CookieOptions Source

newtype CookieOptions

Constructors

Instances