diff options
| author | Dan Engelbrecht <[email protected]> | 2026-02-12 15:25:05 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-02-12 15:25:05 +0100 |
| commit | 3a563f5e8fcabffe686e1deb5862bdf39078ebdf (patch) | |
| tree | 91a027f026f2c46a0e406d2203aea9bf60ae2dc8 /src/zenhttp/include | |
| parent | add simple http client tests (#751) (diff) | |
| download | zen-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.h | 2 |
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 |