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