MCPcopy Create free account
hub / github.com/ElementsProject/elements / obtain_evhttp_request

Function obtain_evhttp_request

src/support/events.h:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45inline raii_evhttp_request obtain_evhttp_request(void(*cb)(struct evhttp_request *, void *), void *arg) {
46 return raii_evhttp_request(evhttp_request_new(cb, arg));
47}
48
49inline raii_evhttp_connection obtain_evhttp_connection_base(struct event_base* base, std::string host, uint16_t port) {
50 auto result = raii_evhttp_connection(evhttp_connection_base_new(base, nullptr, host.c_str(), port));

Callers 2

CallRPCFunction · 0.85
CallMainChainRPCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected