HTTP-4000.2.8: A library for client-side HTTP

Portabilitynon-portable (not tested)
Stabilityexperimental
MaintainerGanesh Sittampalam <[email protected]>
Safe HaskellNone

Network.StreamDebugger

Description

Synopsis

Documentation

data StreamDebugger x Source

Allows stream logging. Refer to debugStream below.

Instances

debugStream :: Stream a => FilePath -> a -> IO (StreamDebugger a)Source

Wraps a stream with logging I/O. The first argument is a filename which is opened in AppendMode.

debugByteStream :: HStream ty => FilePath -> HandleStream ty -> IO (HandleStream ty)Source