# net/services/CookieService.hpp

    00001 // ------------------------------------------------------------------
    00002 // pion-net: a C++ framework for building lightweight HTTP interfaces
    00003 // ------------------------------------------------------------------
    00004 // Copyright (C) 2007-2008 Atomic Labs, Inc.  (http://www.atomiclabs.com)
    00005 //
    00006 // Distributed under the Boost Software License, Version 1.0.
    00007 // See http://www.boost.org/LICENSE_1_0.txt
    00008 //
    00009
    00010 #ifndef __PION_COOKIESERVICE_HEADER__
    00011 #define __PION_COOKIESERVICE_HEADER__
    00012
    00013 #include <pion/net/WebService.hpp>
    00014
    00015
    00016 namespace pion {        // begin namespace pion
    00017 namespace plugins {     // begin namespace plugins
    00018
    00022 class CookieService :
    00023     public pion::net::WebService
    00024 {
    00025 public:
    00026     CookieService(void) {}
    00027     virtual ~CookieService() {}
    00028     virtual void operator()(pion::net::HTTPRequestPtr& request,
    00029                             pion::net::TCPConnectionPtr& tcp_conn);
    00030 };
    00031
    00032 }   // end namespace plugins
    00033 }   // end namespace pion
    00034
    00035 #endif