105 unsigned port,
bool proxy,
107 bool idempotent,
bool has_data,
#define VLC_FORMAT(x, y)
String format function annotation.
Definition vlc_common.h:193
struct vlc_http_conn * vlc_h2_conn_create(void *ctx, struct vlc_tls *)
Definition h2conn.c:874
struct vlc_http_stream * vlc_chunked_open(struct vlc_http_stream *, struct vlc_tls *)
Definition chunked.c:180
struct vlc_http_stream * vlc_h1_request(void *ctx, const char *hostname, unsigned port, bool proxy, const struct vlc_http_msg *req, bool idempotent, bool has_data, struct vlc_http_conn **restrict connp)
Sends an HTTP/1.x request through a new connection.
Definition h1conn.c:366
struct vlc_http_conn * vlc_h1_conn_create(void *ctx, struct vlc_tls *, bool proxy)
Definition h1conn.c:349
ssize_t vlc_https_chunked_write(struct vlc_tls *, const void *base, size_t len, bool eos)
Definition chunked.c:39
static void vlc_http_conn_release(struct vlc_http_conn *conn)
Definition conn.h:54
void vlc_http_err(void *, const char *msg,...) VLC_FORMAT(2
void void vlc_http_dbg(void *, const char *msg,...) VLC_FORMAT(2
static struct vlc_http_stream * vlc_http_stream_open(struct vlc_http_conn *conn, const struct vlc_http_msg *m, bool has_data)
Definition conn.h:48
struct vlc_http_stream *(* stream_open)(struct vlc_http_conn *, const struct vlc_http_msg *, bool has_data)
Definition conn.h:35
void(* release)(struct vlc_http_conn *)
Definition conn.h:38
struct vlc_tls * tls
Definition conn.h:44
const struct vlc_http_conn_cbs * cbs
Definition conn.h:43
HTTP stream.
Definition message.h:371
Transport layer socket.
Definition vlc_tls.h:66