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