Safe Haskell | None |
---|---|
Language | Haskell98 |
- path :: SURI -> String
- query :: SURI -> String
- scheme :: SURI -> String
- u_scheme :: (String -> String) -> SURI -> SURI
- u_path :: (String -> String) -> SURI -> SURI
- a_scheme :: String -> SURI -> SURI
- a_path :: String -> SURI -> SURI
- percentDecode :: String -> String
- unEscape :: String -> String
- unEscapeQS :: String -> String
- isAbs :: SURI -> Bool
- newtype SURI = SURI {}
- render :: ToSURI a => a -> String
- parse :: String -> Maybe SURI
- class ToSURI x where
- class FromPath x where
Documentation
u_scheme :: (String -> String) -> SURI -> SURI Source
Modifies the scheme component of the URI using the provided function
u_path :: (String -> String) -> SURI -> SURI Source
Modifies the path component of the URI using the provided function
percentDecode :: String -> String Source
percent decode a String
e.g. "hello%2Fworld"
-> "hello/world"
unEscapeQS :: String -> String Source
Convenience class for converting data types to URIs