Copyright | (c) Hardy Jones 2017 |
---|---|
License | BSD3 |
Maintainer | jones3.hardy@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- newtype MissingHeaders (headers :: [Symbol]) = MissingHeaders RequestHeaders
- class RemoveHeaders (headers :: [Symbol])
Documentation
newtype MissingHeaders (headers :: [Symbol]) Source #
The request headers with some missing
This is useful for removing sensitive information
like the Authorization
header.
Instances
Eq (MissingHeaders headers) Source # | |
Defined in Rollbar.Item.MissingHeaders (==) :: MissingHeaders headers -> MissingHeaders headers -> Bool # (/=) :: MissingHeaders headers -> MissingHeaders headers -> Bool # | |
Show (MissingHeaders headers) Source # | |
Defined in Rollbar.Item.MissingHeaders showsPrec :: Int -> MissingHeaders headers -> ShowS # show :: MissingHeaders headers -> String # showList :: [MissingHeaders headers] -> ShowS # | |
RemoveHeaders headers => ToJSON (MissingHeaders headers) Source # | |
Defined in Rollbar.Item.MissingHeaders toJSON :: MissingHeaders headers -> Value # toEncoding :: MissingHeaders headers -> Encoding # toJSONList :: [MissingHeaders headers] -> Value # toEncodingList :: [MissingHeaders headers] -> Encoding # | |
FromJSON (MissingHeaders headers) Source # | |
Defined in Rollbar.Item.MissingHeaders parseJSON :: Value -> Parser (MissingHeaders headers) # parseJSONList :: Value -> Parser [MissingHeaders headers] # |
class RemoveHeaders (headers :: [Symbol]) Source #
Remove the headers given from the underlying request headers.
removeHeaders
Instances
RemoveHeaders ([] :: [Symbol]) Source # | |
Defined in Rollbar.Item.MissingHeaders removeHeaders :: MissingHeaders [] -> RequestHeaders | |
(KnownSymbol header, RemoveHeaders headers) => RemoveHeaders (header ': headers) Source # | |
Defined in Rollbar.Item.MissingHeaders removeHeaders :: MissingHeaders (header ': headers) -> RequestHeaders |