Safe Haskell | None |
---|
Airbrake.WebRequest
Description
Class for extracting metadata from HTTP request types that come from different libraries.
Documentation
class WebRequest a whereSource
Methods
The request URL.
route :: a -> Maybe StringSource
Current route. This is a carryover from Rails-style MVC and is optional.
action :: a -> Maybe StringSource
Controller action being used. This is a carryover from Rails-style MVC and is optional.
otherVars :: a -> [(String, String)]Source
Any other request metadata that you would like to include (server name, user agent, etc.)
Instances
WebRequest Request |
|