Portability | non-portable |
---|---|
Stability | experimental |
Safe Haskell | None |
Majordomo Server
Documentation
withServer :: Context -> Service -> Msec -> String -> OnError_ -> Conduit_ -> Control a -> IO aSource
Start a server as a background process
-
Context
- The zeromq context -
Service
- Service name; the service name is used to register at the broker. -
Msec
- Heartbeat in Milliseconds; must be synchronised with the broker heartbeat -
String
- The address to link to -
OnError_
- Error handler -
Conduit_
- The application-defined stream transformer; the conduit receives the request as input stream and should create the output stream that is internally sent back to the client -
Control
a - Control action