-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | RFC 4918 WebDAV support -- -- This is a library for the Web Distributed Authoring and Versioning -- (WebDAV) extensions to HTTP. At present it supports a very small -- subset of client functionality. -- -- In addition, there is an executable, hdav, which can be used for -- command-line operation. @package DAV @version 0.1 module Network.Protocol.HTTP.DAV type DAVState m a = StateT (DAVContext m) (ResourceT m) a data DAVContext a DAVContext :: [ByteString] -> Request a -> [ByteString] -> Manager -> Maybe ByteString -> ByteString -> ByteString -> DAVContext a _allowedMethods :: DAVContext a -> [ByteString] _baseRequest :: DAVContext a -> Request a _complianceClasses :: DAVContext a -> [ByteString] _httpManager :: DAVContext a -> Manager _lockToken :: DAVContext a -> Maybe ByteString _basicusername :: DAVContext a -> ByteString _basicpassword :: DAVContext a -> ByteString getPropsAndContent :: String -> ByteString -> ByteString -> IO (Document, (Maybe ByteString, ByteString)) putContentAndProps :: String -> ByteString -> ByteString -> (Document, (Maybe ByteString, ByteString)) -> IO () deleteContent :: String -> ByteString -> ByteString -> IO () data DAVContext a DAVContext :: [ByteString] -> Request a -> [ByteString] -> Manager -> Maybe ByteString -> ByteString -> ByteString -> DAVContext a _allowedMethods :: DAVContext a -> [ByteString] _baseRequest :: DAVContext a -> Request a _complianceClasses :: DAVContext a -> [ByteString] _httpManager :: DAVContext a -> Manager _lockToken :: DAVContext a -> Maybe ByteString _basicusername :: DAVContext a -> ByteString _basicpassword :: DAVContext a -> ByteString lockToken :: Lens (DAVContext a_a78E) (DAVContext a_a78E) (Maybe ByteString) (Maybe ByteString) httpManager :: Lens (DAVContext a_a78E) (DAVContext a_a78E) Manager Manager complianceClasses :: Lens (DAVContext a_a78E) (DAVContext a_a78E) [ByteString] [ByteString] basicusername :: Lens (DAVContext a_a78E) (DAVContext a_a78E) ByteString ByteString basicpassword :: Lens (DAVContext a_a78E) (DAVContext a_a78E) ByteString ByteString baseRequest :: Lens (DAVContext a_a78E) (DAVContext a_a7OW) (Request a_a78E) (Request a_a7OW) allowedMethods :: Lens (DAVContext a_a78E) (DAVContext a_a78E) [ByteString] [ByteString]