HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulehttp-types-0.12.4Haskell2010

Network.HTTP.Types.Method

Types and constants for HTTP methods.

The HTTP standard defines a set of standard methods, when to use them, and how to handle them. The standard set has been provided as a separate data type StdMethod, but since you can also use custom methods, the basic type Method is just a synonym for ByteString.

  • 2 types
  • 12 values
  • Packagehttp-types-0.12.4
  • Exports14
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMethod.hs

HTTP methods

1 declaration

Constants

Standard Methods

One data type that holds all standard HTTP methods.

datadata StdMethod
#

HTTP standard method (as defined by RFC 2616, and PATCH which is defined by RFC 5789).

Instances10Bounded, Enum, Eq, Data, Ord, Read, …