raccoon::web::detail namespace

Contents

Implementation details.

Classes

struct curl_context_t

Functions

auto get_handle(Session* session) -> CURLM*
void process_libcurl_messages(Session* session, int running_handles)
static auto create_curl_context(curl_socket_t sock_fd, uv_loop_t* loop, Session* session) -> curl_context_t*
static void destroy_curl_context(curl_context_t* ctx)
static void on_poll(uv_poll_t* req, int status, int uv_events)

Function documentation

CURLM* raccoon::web::detail::get_handle(Session* session)

Friend function to access the handle of the request session.

void raccoon::web::detail::process_libcurl_messages(Session* session, int running_handles)

Friend function to access a private method of the request session.

static curl_context_t* raccoon::web::detail::create_curl_context(curl_socket_t sock_fd, uv_loop_t* loop, Session* session)

Create a new curl context.

static void raccoon::web::detail::destroy_curl_context(curl_context_t* ctx)

Destroy a curl context.

static void raccoon::web::detail::on_poll(uv_poll_t* req, int status, int uv_events)