skunkworks-c/include/net/http_client.h

19 lines
356 B
C
Raw Normal View History

2023-03-07 20:13:02 +01:00
#ifndef GUARD_6F6DB4EF6B1F202B980E8656237B5E18
#define GUARD_6F6DB4EF6B1F202B980E8656237B5E18
#include "types.h"
struct sw_http_response {
char *body;
u32 body_length;
i16 status;
};
struct sw_http_request_handle {
u32 _handle;
};
struct sw_http_request_handle sw_http_request_async(char *url);
#endif /* GUARD_6F6DB4EF6B1F202B980E8656237B5E18 */