http-link-header-1.2.3: HTTP Link header parser/writer
Safe HaskellTrustworthy
LanguageHaskell2010

Network.HTTP.Link

Description

This module exports all the things at the same time, plus a utility function.

Synopsis

Documentation

lnk :: IsURI uri => String -> [(LinkParam, Text)] -> Maybe (Link uri) Source #

Construct a Link.

Orphan instances

IsURI uri => ToHttpApiData (Link uri) Source # 
Instance details

Methods

toUrlPiece :: Link uri -> Text Source #

toEncodedUrlPiece :: Link uri -> Builder Source #

toHeader :: Link uri -> ByteString Source #

toQueryParam :: Link uri -> Text Source #

toEncodedQueryParam :: Link uri -> Builder Source #

IsURI uri => ToHttpApiData [Link uri] Source # 
Instance details

Methods

toUrlPiece :: [Link uri] -> Text Source #

toEncodedUrlPiece :: [Link uri] -> Builder Source #

toHeader :: [Link uri] -> ByteString Source #

toQueryParam :: [Link uri] -> Text Source #

toEncodedQueryParam :: [Link uri] -> Builder Source #