aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-02-12 15:25:05 +0100
committerGitHub Enterprise <[email protected]>2026-02-12 15:25:05 +0100
commit3a563f5e8fcabffe686e1deb5862bdf39078ebdf (patch)
tree91a027f026f2c46a0e406d2203aea9bf60ae2dc8 /src/zenhttp/include
parentadd simple http client tests (#751) (diff)
downloadzen-3a563f5e8fcabffe686e1deb5862bdf39078ebdf.tar.xz
zen-3a563f5e8fcabffe686e1deb5862bdf39078ebdf.zip
add IsLocalMachineRequest to HttpServerRequest (#749)
* add IsLocalMachineRequest to HttpServerRequest
Diffstat (limited to 'src/zenhttp/include')
-rw-r--r--src/zenhttp/include/zenhttp/httpserver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenhttp/include/zenhttp/httpserver.h b/src/zenhttp/include/zenhttp/httpserver.h
index 6660bebf9..f0a667686 100644
--- a/src/zenhttp/include/zenhttp/httpserver.h
+++ b/src/zenhttp/include/zenhttp/httpserver.h
@@ -89,6 +89,8 @@ public:
CbObject ReadPayloadObject();
CbPackage ReadPayloadPackage();
+ virtual bool IsLocalMachineRequest() const = 0;
+
/** Respond with payload
No data will have been sent when any of these functions return. Instead, the response will be transmitted