hoauth-0.3.2.1: A Haskell implementation of OAuth 1.0a protocol.

Network.OAuth.Http.DebugHttpClient

Description

Minimum definition of a user agent required to implement oauth service calls. This should suffice for most applications.

Synopsis

Documentation

data DebugClient c Source

A client that is able to debug interaction with HTTP servers.

Constructors

DebugClient 

Fields

backend :: c
 
traceRq :: Request -> IO ()
 
traceRp :: Response -> IO ()
 
traceErr :: String -> IO ()
 

Instances

stdDebugClient :: HttpClient c => c -> DebugClient cSource

Creates the a instance which prints messages using putStrLn.