• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

inc/Module/H29-Nov-2008-1,4821,094

lib/HTTP/Server/Simple/H29-Nov-2008-15753

t/H29-Nov-2008-170121

ChangesH A D29-Nov-2008287 127

MANIFESTH A D29-Nov-2008386 1918

META.ymlH A D29-Nov-2008539 2423

Makefile.PLH A D29-Nov-2008393 1411

READMEH A D29-Nov-20081.3 KiB3924

README

1HTTP-Server-Simple-Recorder version 0.0.1
2
3This module allows you to record all HTTP communication between an
4L<HTTP::Server::Simple>-derived server and its clients.  It is a mixin, so
5it doesn't itself subclass L<HTTP::Server::Simple>; you need to subclass from
6both L<HTTP::Server::Simple::Recorder> and an actual L<HTTP::Server::Simple> subclass,
7and L<HTTP::Server::Simple::Recorder> should be listed first.
8
9Every time a client connects to your server, this module will open a pair of files and log
10the communication between the file and server to these files.  Each connection gets a serial
11number starting at 1.  The filename used is C<<$self->recorder_prefix>>, then a period,
12then the connection serial number, then a period, then either "in" or "out".
13C<recorder_prefix> defaults to C</tmp/http-server-simple-recorder>, but you can override that
14in your subclass.  For example, you might want to include the process ID.
15
16INSTALLATION
17
18To install this module, run the following commands:
19
20    perl Makefile.PL
21    make
22    make test
23    make install
24
25
26
27DEPENDENCIES
28
29IO::Tee, HTTP::Server::Simple 0.10.
30
31
32COPYRIGHT AND LICENCE
33
34Copyright (C) 2005, Best Practical Solutions LLC.
35
36This library is free software; you can redistribute it and/or modify
37it under the same terms as Perl itself.
38
39