27 lines
383 B
C++
27 lines
383 B
C++
#ifndef __HTTPService_h__
|
|
#define __HTTPService_h__
|
|
|
|
#include "Service.h"
|
|
#include "_GET.h"
|
|
#include "_POST.h"
|
|
|
|
namespace http {
|
|
|
|
class HTTPService : public core::Service {
|
|
|
|
public:
|
|
HTTPService() {
|
|
commands.add(get, "GET ");
|
|
commands.add(post, "POST ");
|
|
}
|
|
|
|
private:
|
|
_GET get;
|
|
_POST post;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|