From 6e647132cb992faf489c58bbb1fb88a79a1acb86 Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Wed, 31 Jan 2024 10:01:35 +0200 Subject: Parse request --- mod/mod-ci-github.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mod/mod-ci-github.hxx') diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx index a869878..c29a967 100644 --- a/mod/mod-ci-github.hxx +++ b/mod/mod-ci-github.hxx @@ -35,6 +35,14 @@ namespace brep virtual void init (cli::scanner&); + bool + respond (response&, status_code, const string& message); + + bool + handle_webhook (request&, + const std::optional& github_event, + response&); + private: shared_ptr options_; }; -- cgit v1.1