Polysemy.Http.Request
invalidScheme :: Text -> Text -> Either Text a Source #
split :: Text -> Text -> (Text, Maybe Text) Source #
parseScheme :: Text -> (Text, Maybe Text) -> Either Text (Tls, Text) Source #
parseHostPort :: Text -> (Text, Maybe Text) -> Either Text (Host, Maybe Port) Source #
parseUrl :: Text -> Either Text (Tls, Host, Maybe Port, Path) Source #
withPort :: Maybe Port -> Tls -> Method -> Host -> Path -> Body -> Request Source #
withTls :: Tls -> Method -> Host -> Path -> Body -> Request Source #
simple :: Method -> Host -> Path -> Body -> Request Source #
get :: Host -> Path -> Request Source #
post :: Host -> Path -> Body -> Request Source #
put :: Host -> Path -> Body -> Request Source #
delete :: Host -> Path -> Request Source #
fromUrl :: Method -> Body -> Text -> Either Text Request Source #
getUrl :: Text -> Either Text Request Source #
postUrl :: Body -> Text -> Either Text Request Source #
putUrl :: Body -> Text -> Either Text Request Source #
deleteUrl :: Text -> Either Text Request Source #