Safe Haskell | Safe-Infered |
---|
Documentation
type Address = ByteStringSource
type MDError = ByteStringSource
sendToBroker :: Socket a -> ResponseCode -> [ByteString] -> [ByteString] -> IO ()Source
start :: WorkerState a -> IO ()Source
readTillDrop :: Socket a -> WorkerState a1 -> IO (WorkerState a1)Source
data WorkerState a Source
WorkerState | |
|
withWorker :: String -> ByteString -> ([ByteString] -> IO [ByteString]) -> IO ()Source
withBroker :: (Socket XReq -> WorkerState a -> IO b) -> WorkerState t -> IO bSource
receive :: Socket a -> WorkerState a1 -> IO (Maybe (WorkerState a2))Source