purescript-httpurple/src/HTTPure/Query.purs

15 lines
282 B
Haskell
Raw Normal View History

2017-09-26 06:08:07 +00:00
module HTTPure.Query
( Query
, read
) where
import Data.StrMap as StrMap
import Node.HTTP as HTTP
type Query = StrMap.StrMap String
-- | The StrMap of query segments in the given HTTP Request.
-- | TODO fill in this stub
read :: HTTP.Request -> Query
read _ = StrMap.empty