Kore
Loading...
Searching...
No Matches
http.h File Reference

Provides a simple http-API. More...

#include <kinc/global.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define KINC_HTTP_GET   0
#define KINC_HTTP_POST   1
#define KINC_HTTP_PUT   2
#define KINC_HTTP_DELETE   3

Typedefs

typedef void(* kinc_http_callback_t) (int error, int response, const char *body, void *callbackdata)

Functions

KINC_FUNC void kinc_http_request (const char *url, const char *path, const char *data, int port, bool secure, int method, const char *header, kinc_http_callback_t callback, void *callbackdata)
 Fires off an http request.

Detailed Description

Provides a simple http-API.