You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Run an 'Application' on the port present in the @PORT@
environment variable. Uses the 'Port' given when the variable is unset.
This calls 'runSettings' with 'defaultSettings'."
runSettings :: Settings -> Application -> IO ()
This can be hard and maybe some options cant be ported to servlet container
And we have to duplicate warp settings
withApplication*
Runs the given 'Application' on a free port. Passes the port to the given
operation and executes it, while the 'Application' is running. Shuts down the
server before returning.
testWithApplication*
Same as 'withApplication' but with different exception handling: If the
given 'Application' throws an exception, 'testWithApplication' will re-throw
the exception to the calling thread, possibly interrupting the execution of
the given operation.
The text was updated successfully, but these errors were encountered:
runEnv :: Port -> Application -> IO ()
runSettings :: Settings -> Application -> IO ()
withApplication*
testWithApplication*
The text was updated successfully, but these errors were encountered: