rollbar-hs-0.3.1.0: Core Rollbar data types and APIs.

Copyright(c) Hardy Jones 2017
LicenseBSD3
Maintainerjones3.hardy@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Rollbar.Item.MissingHeaders

Description

 
Synopsis

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 # 
Instance details

Defined in Rollbar.Item.MissingHeaders

Methods

(==) :: MissingHeaders headers -> MissingHeaders headers -> Bool #

(/=) :: MissingHeaders headers -> MissingHeaders headers -> Bool #

Show (MissingHeaders headers) Source # 
Instance details

Defined in Rollbar.Item.MissingHeaders

Methods

showsPrec :: Int -> MissingHeaders headers -> ShowS #

show :: MissingHeaders headers -> String #

showList :: [MissingHeaders headers] -> ShowS #

RemoveHeaders headers => ToJSON (MissingHeaders headers) Source # 
Instance details

Defined in Rollbar.Item.MissingHeaders

FromJSON (MissingHeaders headers) Source # 
Instance details

Defined in Rollbar.Item.MissingHeaders

class RemoveHeaders (headers :: [Symbol]) Source #

Remove the headers given from the underlying request headers.

Minimal complete definition

removeHeaders

Instances
RemoveHeaders ([] :: [Symbol]) Source # 
Instance details

Defined in Rollbar.Item.MissingHeaders

(KnownSymbol header, RemoveHeaders headers) => RemoveHeaders (header ': headers) Source # 
Instance details

Defined in Rollbar.Item.MissingHeaders

Methods

removeHeaders :: MissingHeaders (header ': headers) -> RequestHeaders