| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ldap.Client.Delete
Description
Delete operation.
This operation comes in four flavours:
- synchronous, exception throwing (
delete) - synchronous, returning
EitherResponseError()(deleteEither) - asynchronous,
IObased (deleteAsync) - asynchronous,
STMbased (deleteAsyncSTM)
Of those, the first one (delete) is probably the most useful for the typical usecase.
- delete :: Ldap -> Dn -> IO ()
- deleteEither :: Ldap -> Dn -> IO (Either ResponseError ())
- deleteAsync :: Ldap -> Dn -> IO (Async ())
- deleteAsyncSTM :: Ldap -> Dn -> STM (Async ())
Documentation
delete :: Ldap -> Dn -> IO () Source
Perform the Delete operation synchronously. Raises ResponseError on failures.
deleteEither :: Ldap -> Dn -> IO (Either ResponseError ()) Source
Perform the Delete operation synchronously. Returns Left e where
e is a ResponseError on failures.