| http :: Server :: Simple :: Recorder. HTTP :: SERVER :: SIMPLE :: RECORDER´Â HTTP :: SERVER :: SIMPLEÀÇ ¼ÒÄÏÀ» ±â·ÏÇϱâ À§ÇØ MIXIN ¿ë PERL ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
http :: Server :: Simple :: Recorder. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- David Glasser
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~glasser/HTTP-Server-Simple-Recorder-0.02/lib/HTTP/Server/Simple/Recorder.pm
http :: Server :: Simple :: Recorder. ű×
http :: Server :: Simple :: Recorder. ¼³¸í
http :: server :: Simple :: Recorder´Â ¹Í½º ¿ë Perl ¸ðµâÀÌ HTTP :: Server :: SimpleÀÇ ¼ÒÄÏÀ» ±â·ÏÇÕ´Ï´Ù. http :: server :: Simple :: Recorder´Â MixInÀ»À§ÇÑ Perl ¸ðµâÀÔ´Ï´Ù. http :: Server :: SimpleÀÇ sockets.synopsis ÆÐÅ°Áö MyServer; ±âº» QW / http :: Server :: Simple :: Recorder HTTP :: Server :: Simple :: CGI /; Sub Recorder_Prefix { "path / to / logs / record"} # ±âº»°ªÀº / tmp / http-server °£´ÜÇÑ ·¹ÄÚ´õ # path / to / logs / record.34244.1.in, # path / to / logs / record¿¡ ·Î±×ÀÎÇÕ´Ï´Ù. 34244.1.out, # path / to / logs / recolor.34244.2.in.34244.2.in, # path / to / logs / recover.34244.2.out µî, 34244ÀÌ ¼¹öÀÌ ¸ðµâÀÇ ¸ðµç HTTP Åë½ÅÀ» ±â·Ï ÇÒ ¼öÀÖ´Â °æ¿ì 34244.2.out. http :: Server :: ´Ü¼ø ÆÄ»ý ¼¹ö ¹× ÇØ´ç Ŭ¶óÀ̾ðÆ®. ±×°ÍÀº mixinÀ̹ǷΠÀÚüÀûÀ¸·Î ÇÏÀ§ Ŭ·¡½º http :: server :: simple; http :: server :: simple :: Recorder¿Í ½ÇÁ¦ http :: server :: simple subclass ¹× http :: server :: simple :: ·¹ÄÚ´õ°¡ ¸ÕÀú ³ª¿µÇ¾î¾ßÇÕ´Ï´Ù. ¼¹ö ¿¡¼ÀÌ ¸ðµâÀº ÆÄÀÏ ½ÖÀ» ¿°í ÆÄÀÏ°ú ¼¹ö °£¿¡ÀÌ ÆÄÀÏ¿¡ Åë½ÅÀ» ±â·ÏÇÕ´Ï´Ù. °¢ ¿¬°áÀº 1¿¡¼ ½ÃÀÛÇÏ´Â ÀÏ·Ã ¹øÈ£¸¦ °¡Á®¿É´Ï´Ù. »ç¿ë µÈ ÆÄÀÏ À̸§Àº>, ±â°£, ¿¬°á ÀÏ·Ã ¹øÈ£, ±â°£, "in"¶Ç´Â "out"ÀÔ´Ï´Ù. recorder_prefix´Â ±âº»°ªÀ¸·Î / tmp / http-server-simple-recorderÀÌÁö¸¸ ÇÏÀ§ Ŭ·¡½º¿¡¼ ±× ÀçÁ¤ÀÇ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î ÇÁ·Î¼¼½º ID¸¦ Æ÷ÇÔ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl. ¡¤ IO :: Tee. ¡¤ http :: Server :: Simple.
http :: Server :: Simple :: Recorder. °ü·Ã ¼ÒÇÁÆ®¿þ¾î