Module

Peregrine.Http.Headers

Package
purescript-peregrine
Repository
maxdeviant/peregrine

#HeaderValue Source

Re-exports from Peregrine.Http.Headers.HeaderName

#MakeHeaderName Source

class MakeHeaderName :: Symbol -> Constraintclass MakeHeaderName (s :: Symbol)  where

A helper class for defining header names at compile time.

contentType :: HeaderName
contentType = staticHeaderName (Proxy :: Proxy "Content-Type")

Members

Instances