Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Enforce HTTPS in Wai server app safely. Wai middleware enforcing HTTPS protocol on any incoming request. In case of non-encrypted HTTP, traffic is redirected using 301 Permanent Redirect or optionally 307 Temporary Redirect. Middleware has compatibility modes for various reverse proxies (load balancers) and therefore can be used with Heroku, Google Cloud (Ingress), Azure or any other type of PAS or Cloud provider.
-
Feature flag support for WAI applications. Please see the README at https://github.com/jwoudenberg/wai-feature-flags.
-
Launch a web app in the default browser. API docs and the README are available at http://www.stackage.org/package/wai-handler-launch.
-
WAI Middleware for Bearer Token Authentication Please see the README on GitHub at https://github.com/martin-bednar/wai-middleware-bearer#readme
package
wai-middleware-caching-lru Initial project template from stack Please see README.md
package
wai-middleware-caching-redis Cache Wai Middleware using Redis backend Please see README.md
-
GNU Terry Pratchett - Add the X-Clacks-Overhead Header to Wai Responses. "You know they'll never really die while the Trunk is alive." wai-middleware-clacks is a middleware that inserts an arbitrary X-Clacks-Overhead header into every Wai response. From GNU Terry Pratchett:
In Terry Pratchett's Discworld series, the clacks are a series of semaphore towers loosely based on the concept of the telegraph. Invented by an artificer named Robert Dearheart, the towers could send messages "at the speed of light" using standardized codes. Three of these codes are of particular import: G: send the message on N: do not log the message U: turn the message around at the end of the line and send it back again When Dearheart's son John died due to an accident while working on a clacks tower, Dearheart inserted John's name into the overhead of the clacks with a "GNU" in front of it as a way to memorialize his son forever (or for at least as long as the clacks are standing.) Keeping the legacy of Sir Terry Pratchett alive forever. For as long as his name is still passed along the Clacks, Death can't have him.
Please see the README or module documentation for usage instructions. package
wai-middleware-delegate WAI middleware that delegates handling of requests. WAI middleware that intercepts requests that match a predicate and responds to them using alternate WAI Applications or proxied hosts. Read this short example for an introduction to its usage.
package
wai-middleware-metrics A WAI middleware to collect EKG request metrics This WAI middleware counts the number of requests, the number of responses by status code and keeps a latency distribution. It can be added to any WAI-based webserver, such as Yesod, Scotty, Spock and Servant. The counters are EKG Counters from ekg-core. https://ocharles.org.uk/blog/posts/2012-12-11-24-day-of-hackage-ekg.html
package
wai-middleware-throttle WAI Middleware for Request Throttling WAI Middleware for request rate limiting and throttling. Designed to be configured in the spirit of the NGinx module.