servant/servant-server/test/Servant
Andres Loeh b1a6d88845 Revise the Router type to allow proper sharing.
We've previously used functions in the Router type to provide
information for subrouters. But this accesses the Requests too
early, and breaks sharing of the router structure in general,
causing the Router or large parts of the Router to be recomputed
on every request.

We now do not use functions anymore, and properly compute all
static parts of the router first, and gain access to the request
only in Delayed.

This also turns the code used within Delayed into a proper monad
now called DelayedIO, making some of the code using it a bit
nicer.
2016-04-12 09:38:49 +02:00
..
Server Revise the Router type to allow proper sharing. 2016-04-12 09:38:49 +02:00
Utils Add 'serveWithConfig'. 2016-02-18 16:36:24 +01:00
ServerSpec.hs Revise the Router type to allow proper sharing. 2016-04-12 09:38:49 +02:00