Safe Haskell | None |
---|
- type DAVState m a = StateT (DAVContext m) (ResourceT m) a
- data DAVContext a = DAVContext {}
- getProps :: String -> ByteString -> ByteString -> 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
- data DAVContext a = DAVContext {}
- lockToken :: forall a. Lens (DAVContext a) (DAVContext a) (Maybe ByteString) (Maybe ByteString)
- httpManager :: forall a. Lens (DAVContext a) (DAVContext a) Manager Manager
- complianceClasses :: forall a. Lens (DAVContext a) (DAVContext a) [ByteString] [ByteString]
- basicusername :: forall a. Lens (DAVContext a) (DAVContext a) ByteString ByteString
- basicpassword :: forall a. Lens (DAVContext a) (DAVContext a) ByteString ByteString
- baseRequest :: forall a a. Lens (DAVContext a) (DAVContext a) (Request a) (Request a)
- allowedMethods :: forall a. Lens (DAVContext a) (DAVContext a) [ByteString] [ByteString]
Documentation
type DAVState m a = StateT (DAVContext m) (ResourceT m) aSource
data DAVContext a Source
getProps :: String -> ByteString -> ByteString -> 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.)
data DAVContext a Source
lockToken :: forall a. Lens (DAVContext a) (DAVContext a) (Maybe ByteString) (Maybe ByteString)Source
httpManager :: forall a. Lens (DAVContext a) (DAVContext a) Manager ManagerSource
complianceClasses :: forall a. Lens (DAVContext a) (DAVContext a) [ByteString] [ByteString]Source
basicusername :: forall a. Lens (DAVContext a) (DAVContext a) ByteString ByteStringSource
basicpassword :: forall a. Lens (DAVContext a) (DAVContext a) ByteString ByteStringSource
baseRequest :: forall a a. Lens (DAVContext a) (DAVContext a) (Request a) (Request a)Source
allowedMethods :: forall a. Lens (DAVContext a) (DAVContext a) [ByteString] [ByteString]Source