Files
core_misc/tjp/core/http/Component.hpp
Timothy Prepscius fa54be052a flatten 20260225
2026-02-25 12:39:24 -05:00

26 lines
402 B
C++
Executable File

// TJP COPYRIGHT HEADER
#pragma once
#include "Component.h"
#include "Method.h"
#include "Types.h"
#include "Server.h"
#include <tjp/core/string/String.hpp>
namespace tjp::core::http {
struct Component
{
using Server = http::Server;
using method = http::method;
virtual void use(Server &, const String &urlPrefix) = 0;
virtual void onBegin() {}
virtual void onEnd() {}
} ;
} // namespace