Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
serveWithSocket :: (MonadSafe m, MonadCatch m) => (Socket, SockAddr) -> (Producer ByteString m () -> m (Producer ByteString m ())) -> m () Source #
serveT :: (MonadSafe m, MonadMask n, MonadIO n) => (n () -> IO ()) -> HostPreference -> ServiceName -> (Producer ByteString (SafeT n) () -> SafeT n (Producer ByteString (SafeT n) ())) -> m () Source #
serve :: MonadSafe m => HostPreference -> ServiceName -> (Producer ByteString (SafeT IO) () -> SafeT IO (Producer ByteString (SafeT IO) ())) -> m () Source #
run :: MonadSafe m => HostPreference -> ServiceName -> (Producer ByteString (SafeT IO) () -> SafeT IO (Producer ByteString (SafeT IO) ())) -> m () Source #