24#ifndef __M_NET_HTTP_SIMPLE_H__
25#define __M_NET_HTTP_SIMPLE_H__
29#include <mstdlib/mstdlib.h>
30#include <mstdlib/mstdlib_io.h>
31#include <mstdlib/mstdlib_formats.h>
32#include <mstdlib/mstdlib_tls.h>
199struct M_net_http_simple;
struct M_dns M_dns_t
Definition: m_dns.h:43
struct M_event M_event_t
Definition: m_event.h:210
struct M_hash_dict M_hash_dict_t
Definition: m_hash_dict.h:52
struct M_http_simple_read M_http_simple_read_t
Definition: m_http.h:785
M_http_error_t
Definition: m_http.h:84
M_http_method_t
Definition: m_http.h:136
struct M_io M_io_t
Definition: m_io.h:59
M_net_error_t
Definition: m_net.h:44
M_bool M_net_http_simple_send(M_net_http_simple_t *hs, const char *url, void *thunk) M_WARN_UNUSED_RESULT
struct M_net_http_simple M_net_http_simple_t
Definition: m_net_http_simple.h:200
void M_net_http_simple_set_message(M_net_http_simple_t *hs, M_http_method_t method, const char *user_agent, const char *content_type, const char *charset, const M_hash_dict_t *headers, const unsigned char *message, size_t message_len)
void M_net_http_simple_cancel(M_net_http_simple_t *hs)
void M_net_http_simple_set_proxy(M_net_http_simple_t *hs, const char *proxy_server)
void M_net_http_simple_set_tlsctx(M_net_http_simple_t *hs, M_tls_clientctx_t *ctx)
void(* M_net_http_simple_done_cb)(M_net_error_t net_error, M_http_error_t http_error, const M_http_simple_read_t *simple, const char *error, void *thunk)
Definition: m_net_http_simple.h:220
void M_net_http_simple_set_timeouts(M_net_http_simple_t *hs, M_uint64 connect_ms, M_uint64 stall_ms, M_uint64 overall_ms)
void M_net_http_simple_set_proxy_authentication(M_net_http_simple_t *hs, const char *user, const char *pass)
M_net_http_simple_t * M_net_http_simple_create(M_event_t *el, M_dns_t *dns, M_net_http_simple_done_cb done_cb)
void M_net_http_simple_set_max_receive_size(M_net_http_simple_t *hs, M_uint64 max)
void M_net_http_simple_set_max_redirects(M_net_http_simple_t *hs, M_uint64 max)
void M_net_http_simple_set_iocreate(M_net_http_simple_t *hs, M_net_http_simple_iocreate_cb iocreate_cb)
M_bool(* M_net_http_simple_iocreate_cb)(M_io_t *io, char *error, size_t errlen, void *thunk)
Definition: m_net_http_simple.h:239
struct M_tls_clientctx M_tls_clientctx_t
Definition: m_tls.h:45