HelloService.hpp
// ---------------------------------------------------------------------
// pion: a Boost C++ framework for building lightweight HTTP interfaces
// ---------------------------------------------------------------------
// Copyright (C) 2007-2014 Splunk Inc. (https://github.com/splunk/pion)
//
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
//
#ifndef __PION_HELLOSERVICE_HEADER__
#define __PION_HELLOSERVICE_HEADER__
#include <pion/http/plugin_service.hpp>
namespace pion { // begin namespace pion
namespace plugins { // begin namespace plugins
class HelloService :
public pion::http::plugin_service
{
public:
HelloService(void) {}
virtual ~HelloService() {}
virtual void operator()(const pion::http::request_ptr& http_request_ptr,
const pion::tcp::connection_ptr& tcp_conn);
};
} // end namespace plugins
} // end namespace pion
#endif
pion::http::plugin_service
Definition: plugin_service.hpp:29
pion::plugins::HelloService::operator()
virtual void operator()(const pion::http::request_ptr &http_request_ptr, const pion::tcp::connection_ptr &tcp_conn)
handles requests for HelloService
Definition: HelloService.cpp:22
pion::plugins::HelloService
Definition: HelloService.hpp:22
pion
Definition: admin_rights.hpp:19