mirror of
https://github.com/openappsec/openappsec.git
synced 2026-01-17 16:00:26 +03:00
update code to support brotli
This commit is contained in:
28
core/include/general/intell_registration_event.h
Normal file
28
core/include/general/intell_registration_event.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef __INTELL_REGISTRATION_EVENT_H__
|
||||
#define __INTELL_REGISTRATION_EVENT_H__
|
||||
|
||||
#include "event.h"
|
||||
|
||||
class IntelligenceRegistrationEvent : public Event<IntelligenceRegistrationEvent>
|
||||
{
|
||||
public:
|
||||
IntelligenceRegistrationEvent(bool registration_successful, std::string registration_response)
|
||||
:
|
||||
registration_successful(registration_successful),
|
||||
registration_response(registration_response)
|
||||
{}
|
||||
|
||||
IntelligenceRegistrationEvent(bool registration_successful)
|
||||
:
|
||||
IntelligenceRegistrationEvent(registration_successful, "")
|
||||
{}
|
||||
|
||||
bool isRegistrationSuccessful() const { return registration_successful; }
|
||||
std::string getRegistrationResponse() const { return registration_response; }
|
||||
|
||||
private:
|
||||
bool registration_successful;
|
||||
std::string registration_response;
|
||||
};
|
||||
|
||||
#endif // __INTELL_REGISTRATION_EVENT_H__
|
||||
Reference in New Issue
Block a user