#pragma once #include // Enables support for reverse proxying. // This should only be enabled if you're going to host // behind a proxy server (including Cloudflare.). #define BASE_HTTP_REVERSE_PROXY_SUPPORT // Tweaks the behavious of a few things to better adhere to Cloudflare stuff // #define BASE_HTTP_CLOUDFLARE // Enables logging of HTTP requests/responses. Note that this only applies to true HTTP sessions, // WebSocket connections will not be logged. // //#define BASE_HTTP_REQUEST_LOGGING namespace base::http { using GenericProtocol = asio::generic::stream_protocol; using GenericStream = BeastStream; } // namespace base::http