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

22 lines
409 B
C++
Raw Normal View History

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