HTTP-4000.2.8: A library for client-side HTTP

Portabilitynon-portable (not tested)
Stabilityexperimental
MaintainerGanesh Sittampalam <http@projects.haskell.org>
Safe HaskellNone

Network.StreamDebugger

Description

Implements debugging of Streams. Originally part of Gray's\/Bringert's HTTP module.

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