This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar-2022/sdk/example/http_event_plugin.cpp
yangwei 658108724c add deps directory
update inner include headers
2022-07-14 15:05:18 +08:00

17 lines
354 B
C++

#include "session.h"
#include "packet.h"
#include "plugin.h"
#include "http.h"
int http_event_plugin_entry(const struct session *s, int what, struct packet *p, const char *payload, uint32_t len, void **pme)
{
return 0;
}
int http_event_plugin_init()
{
plugin_session_event_register(SESSION_TYPE_HTTP, http_event_plugin_entry, nullptr);
return 0;
}