Module

Network.HTTP.Types.Method

Package
purescript-http-types
Repository
chrisdotcode/purescript-http-types

#Method Source

data Method

A list of common methods. If it's non-common, use the 'Custom' constructor.

Constructors

Instances

#methodFromString Source

methodFromString :: String -> Method

Creates a 'Method' from a string. If the given string is a non-common HTTP method, then a 'Custom' 'Method' is returned.