Network.HTTP.Request
type Header = (ByteString, ByteString) Source #
type Headers = [Header] Source #
data IsString a => Request a Source #
Defined in Network.HTTP.Request
Methods
showsPrec :: Int -> Request a -> ShowS #
show :: Request a -> String #
showList :: [Request a] -> ShowS #
data Response Source #
showsPrec :: Int -> Response -> ShowS #
show :: Response -> String #
showList :: [Response] -> ShowS #
get :: String -> IO Response Source #
post :: (String, Maybe ByteString) -> IO Response Source #
put :: (String, Maybe ByteString) -> IO Response Source #
send :: IsString a => Request a -> IO Response Source #