Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides orphan instances for ToHttpApiData
and FromHttpApiData
for data types from the ip
package.
Orphan instances
ToHttpApiData Mac Source # | |
toUrlPiece :: Mac -> Text # toEncodedUrlPiece :: Mac -> Builder # toHeader :: Mac -> ByteString # toQueryParam :: Mac -> Text # | |
ToHttpApiData IPv4 Source # | |
toUrlPiece :: IPv4 -> Text # toEncodedUrlPiece :: IPv4 -> Builder # toHeader :: IPv4 -> ByteString # toQueryParam :: IPv4 -> Text # | |
FromHttpApiData Mac Source # | |
parseUrlPiece :: Text -> Either Text Mac # parseHeader :: ByteString -> Either Text Mac # | |
FromHttpApiData IPv4 Source # | |
parseUrlPiece :: Text -> Either Text IPv4 # parseHeader :: ByteString -> Either Text IPv4 # |