Safe Haskell | None |
---|---|
Language | Haskell2010 |
Serve
Documentation
serveWithPipe :: Monad m => Producer ByteString m a -> Consumer ByteString m b -> (Producer ByteString m a -> m (Producer ByteString m b)) -> m () Source #
serveWithSocket :: MonadIO m => (Socket, SockAddr) -> (Producer ByteString m () -> m (Producer ByteString m ())) -> m () Source #
run :: MonadSafe m => HostPreference -> ServiceName -> (Producer ByteString IO () -> IO (Producer ByteString IO ())) -> m () Source #