HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulehttp-types-0.12.6Haskell2010

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.6
  • 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, …