DAV-0.6: RFC 4918 WebDAV support

Safe HaskellNone

Network.Protocol.HTTP.DAV

Synopsis

Documentation

newtype DAVT m a Source

Constructors

DAVT 

evalDAVT :: MonadIO m => String -> DAVT m a -> m (Either String a)Source

getProps :: String -> ByteString -> ByteString -> Maybe Depth -> IO DocumentSource

Deprecated: This function will be removed in favor of getPropsM

getPropsAndContent :: String -> ByteString -> ByteString -> IO (Document, (Maybe ByteString, ByteString))Source

Deprecated: This function will be removed in favor of getPropsM and getContentM

putContentAndProps :: String -> ByteString -> ByteString -> (Document, (Maybe ByteString, ByteString)) -> IO ()Source

Deprecated: This function will be removed in favor of putContentM and putPropsM

putContent :: String -> ByteString -> ByteString -> (Maybe ByteString, ByteString) -> IO ()Source

Deprecated: This function will be removed in favor of putContentM

deleteContent :: String -> ByteString -> ByteString -> IO ()Source

Deprecated: This function will be removed in favor of delContentM

moveContent :: String -> ByteString -> ByteString -> ByteString -> IO ()Source

Deprecated: This function will be removed in favor of moveContentM

makeCollection :: String -> ByteString -> ByteString -> IO BoolSource

Deprecated: This function will be removed in favor of mkCol

Creates a WebDAV collection, which is similar to a directory.

Returns False if the collection could not be made due to an intermediate collection not existing. (Ie, collection abcd cannot be made until collection ab/c exists.)

caldavReport :: String -> ByteString -> ByteString -> IO DocumentSource

Deprecated: This function will be removed in favor of caldavReportM

data Depth Source

Constructors

Depth0 
Depth1 
DepthInfinity 

Instances