http-types-0.12.3: Generic HTTP types for Haskell (for both client and server code).
Safe Haskell Safe-Inferred
Language Haskell98

Network.HTTP.Types.Method

Synopsis

Documentation

type Method = ByteString Source #

HTTP method (flat string type).

methodGet :: Method Source #

HTTP Method constants.

methodPost :: Method Source #

HTTP Method constants.

methodHead :: Method Source #

HTTP Method constants.

methodPut :: Method Source #

HTTP Method constants.

methodDelete :: Method Source #

HTTP Method constants.

methodTrace :: Method Source #

HTTP Method constants.

methodConnect :: Method Source #

HTTP Method constants.

methodOptions :: Method Source #

HTTP Method constants.

methodPatch :: Method Source #

HTTP Method constants.

data StdMethod Source #

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

Instances

Instances details
Bounded StdMethod Source #
Instance details

Defined in Network.HTTP.Types.Method

Enum StdMethod Source #
Instance details

Defined in Network.HTTP.Types.Method

Eq StdMethod Source #
Instance details

Defined in Network.HTTP.Types.Method

Ord StdMethod Source #
Instance details

Defined in Network.HTTP.Types.Method

Read StdMethod Source #
Instance details

Defined in Network.HTTP.Types.Method

Show StdMethod Source #
Instance details

Defined in Network.HTTP.Types.Method

Ix StdMethod Source #
Instance details

Defined in Network.HTTP.Types.Method

renderMethod :: Either ByteString StdMethod -> Method Source #

Convert an algebraic method to a ByteString .