poco

POCO C++ Libraries

POCO framework patterns for C++ network and server applications

Details

Language / Topic
cppC++
Category
framework
Compatible Frameworks
poco

Rules

balanced
- Use POCO's `HTTPServer` and `HTTPRequestHandler` for building HTTP services with clean request routing.
- Use POCO Foundation classes (`Path`, `File`, `URI`, `DateTime`) for portable system operations.
- Use `Poco::Net::HTTPServer` with `HTTPRequestHandlerFactory` to build request routers — each handler is a separate class.
- Use `Poco::JSON::Parser` for JSON parsing and `Poco::Dynamic::Var` for type-safe access to parsed values.
- Use `Poco::Net::HTTPClientSession` for outbound HTTP requests with connection reuse and TLS support.
- Use POCO's `Logger` and `Channel` system for structured logging with configurable outputs (console, file, syslog).
- Use `Poco::JSON::Parser` and `Poco::JSON::Object` for JSON serialization/deserialization.
- Use `Poco::Util::ServerApplication` as the base class for daemon/service applications with built-in config and logging.