summaryrefslogtreecommitdiff
path: root/icespider/core
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-01-18 15:24:20 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-01-18 15:24:20 +0000
commita2231b799729238636e4c47100d7771ae50d6195 (patch)
treefca9304a48ac0d8b16331026d320083c5b46f061 /icespider/core
parentPerformance fixes (diff)
downloadicespider-a2231b799729238636e4c47100d7771ae50d6195.tar.bz2
icespider-a2231b799729238636e4c47100d7771ae50d6195.tar.xz
icespider-a2231b799729238636e4c47100d7771ae50d6195.zip
Helper for testing for HTTPS
Diffstat (limited to 'icespider/core')
-rw-r--r--icespider/core/ihttpRequest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/icespider/core/ihttpRequest.h b/icespider/core/ihttpRequest.h
index e1044f1..a8eee28 100644
--- a/icespider/core/ihttpRequest.h
+++ b/icespider/core/ihttpRequest.h
@@ -33,6 +33,7 @@ namespace IceSpider {
virtual OptionalString getHeaderParam(const std::string_view &) const = 0;
virtual OptionalString getCookieParam(const std::string_view &) const = 0;
virtual OptionalString getEnv(const std::string_view &) const = 0;
+ virtual bool isSecure() const = 0;
static Accepted parseAccept(const std::string_view &);
virtual Slicer::DeserializerPtr getDeserializer() const;
virtual ContentTypeSerializer getSerializer(const IRouteHandler *) const;