blob: 93efdae04722372a7d3486fffb02f81d44152a2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <nnwt/http.h>
#include <nnwt/thread.h>
#include <nnwt/signal.h>
#include "../handler.h"
#include "../entry.h"
#include "../threaded_waits.h"
struct cch_handler_http {
struct cch_handler handler;
struct cch_backing *backing;
struct nn_event_loop *loop;
str url;
off_t pointer;
array(struct nn_http) requests;
struct cch_threaded_waits waits;
};
struct cch_entry *cch_handler_http_create(str *url, struct nn_event_loop *loop);
|