Popularity
2.1
Declining
Activity
0.0
Declining
2
1
2
Monthly Downloads: 15
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.1.1.0
wai-middleware-delegate alternatives and similar packages
Based on the "wai" category.
Alternatively, view wai-middleware-delegate alternatives based on common mentions on social networks and blogs.
-
wai-middleware-auth
Authentication middleware that secures WAI application -
wai-middleware-consul
Wai Middleware for Consul -
wai-middleware-static
WAI middleware that intercepts requests to static files and serves them if they exist. -
wai-middleware-throttle
WAI Request Throttling Middleware -
wai-middleware-metrics
WAI middleware that collects requests metrics -
wai-middleware-rollbar
Middleware that communicates to Rollbar. -
wai-cli
Command line runner for Wai apps (using Warp) with TLS, CGI, socket activation & graceful shutdown | now on https://codeberg.org/unrelentingtech/wai-cli -
wai-enforce-https
Enforce HTTPS in Wai server app safely. -
wai-middleware-crowd
Middleware and utilities for using Atlassian Crowd authentication -
wai-session-postgresql
WAI Session that keeps its data in a PostgreSQL database -
wai-middleware-route
Wai dispatch middleware -
wai-util
Utility functions for WAI that haven't found another home yet -
wai-slack-middleware
A Slack middleware for wai -
wai-session-clientsession
Session store based on clientsession -
wai-middleware-etag
WAI ETag middleware for static files -
wai-middleware-hmac
WAI HMAC Authentication Middleware and Client -
wai-session-tokyocabinet
Session store based on Tokyo Cabinet -
wai-middleware-json-errors
Convert errors to json -
wai-hastache
Nice wrapper around hastache for use with WAI -
wai-middleware-preprocessor
WAI middleware for static file preprocessors -
wai-digestive-functors
Helpers to bind digestive-functors onto wai requests -
wai-middleware-cache
Caching middleware for WAI -
wai-middleware-caching
WAI Middleware to cache (contains generic, LRUCache and Redis Cache backend) -
wai-middleware-headers
addHeaders and cors for Haskell's Network.Wai -
wai-middleware-static-embedded
Serve static files embedded in your executable as a wai middleware. -
wai-middleware-static-caching
WAI middleware that intercepts requests to static files and serves them if they exist. -
wai-feature-flags
Feature flag support for WAI applications. -
wai-logger-buffered
A buffered logger for wai applications -
wai-git-http
Haskell Wai Application for git http-backend -
wai-middleware-travisci
WAI middleware for authenticating webhook payloads from Travis CI -
wai-middleware-slack-verify
WAI Slack request verification middleware -
wai-handler-snap
Web Application Interface handler using snap-server. (deprecated)
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of wai-middleware-delegate or a related project?
README
wai-middleware-delegate

wai-middleware-delegate is a WAI middleware that allows requests to be handled by a delegate application that proxies requests to another server.
Example
{-# LANGUAGE OverloadedStrings #-}
import Data.Default (Default (..))
import Network.HTTP.Client.TLS (newTlsManager)
import Network.HTTP.Types (status500)
import Network.Wai
import Network.Wai.Handler.Warp (run)
import Network.Wai.Middleware.Delegate (ProxySettings (..),
delegateToProxy)
sampleSettings :: ProxySettings
sampleSettings = def { proxyHost = "httpbin.org" }
-- | Create an application that proxies every request to httpbin.org
httpBinDelegate :: ProxySettings -> IO Application
httpBinDelegate s = do
-- delegate everything!
let takeItAll = const True
dummyApp _ respond = respond $ responseLBS status500 [] "I should have been proxied"
manager <- newTlsManager
return $ delegateToProxy s manager (takeItAll) dummyApp
main :: IO ()
main = httpBinDelegate sampleSettings >>= run 3000
*Note that all licence references and agreements mentioned in the wai-middleware-delegate README section above
are relevant to that project's source code only.