Safe Haskell | None |
---|
- type DAVState m a = StateT (DAVContext m) (ResourceT m) a
- data DAVContext a = DAVContext {}
- getProps :: String -> ByteString -> ByteString -> Maybe Depth -> IO Document
- getPropsAndContent :: String -> ByteString -> ByteString -> IO (Document, (Maybe ByteString, ByteString))
- putContentAndProps :: String -> ByteString -> ByteString -> (Document, (Maybe ByteString, ByteString)) -> IO ()
- putContent :: String -> ByteString -> ByteString -> (Maybe ByteString, ByteString) -> IO ()
- deleteContent :: String -> ByteString -> ByteString -> IO ()
- moveContent :: String -> ByteString -> ByteString -> ByteString -> IO ()
- makeCollection :: String -> ByteString -> ByteString -> IO Bool
- caldavReport :: String -> ByteString -> ByteString -> IO Document
- data Depth
- = Depth0
- | Depth1
- | DepthInfinity
- data DAVContext a = DAVContext {}
- lockToken :: forall a. Lens' (DAVContext a) (Maybe ByteString)
- httpManager :: forall a. Lens' (DAVContext a) Manager
- depth :: forall a. Lens' (DAVContext a) (Maybe Depth)
- complianceClasses :: forall a. Lens' (DAVContext a) [ByteString]
- basicusername :: forall a. Lens' (DAVContext a) ByteString
- basicpassword :: forall a. Lens' (DAVContext a) ByteString
- baseRequest :: forall a a. Lens (DAVContext a) (DAVContext a) (Request a) (Request a)
- allowedMethods :: forall a. Lens' (DAVContext a) [ByteString]
Documentation
type DAVState m a = StateT (DAVContext m) (ResourceT m) aSource
data DAVContext a Source
DAVContext | |
|
getProps :: String -> ByteString -> ByteString -> Maybe Depth -> IO DocumentSource
getPropsAndContent :: String -> ByteString -> ByteString -> IO (Document, (Maybe ByteString, ByteString))Source
putContentAndProps :: String -> ByteString -> ByteString -> (Document, (Maybe ByteString, ByteString)) -> IO ()Source
putContent :: String -> ByteString -> ByteString -> (Maybe ByteString, ByteString) -> IO ()Source
deleteContent :: String -> ByteString -> ByteString -> IO ()Source
moveContent :: String -> ByteString -> ByteString -> ByteString -> IO ()Source
makeCollection :: String -> ByteString -> ByteString -> IO BoolSource
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
data DAVContext a Source
DAVContext | |
|
lockToken :: forall a. Lens' (DAVContext a) (Maybe ByteString)Source
httpManager :: forall a. Lens' (DAVContext a) ManagerSource
complianceClasses :: forall a. Lens' (DAVContext a) [ByteString]Source
basicusername :: forall a. Lens' (DAVContext a) ByteStringSource
basicpassword :: forall a. Lens' (DAVContext a) ByteStringSource
baseRequest :: forall a a. Lens (DAVContext a) (DAVContext a) (Request a) (Request a)Source
allowedMethods :: forall a. Lens' (DAVContext a) [ByteString]Source