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

Provides a simple http-API. More...

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

Go to the source code of this file.

Macros

#define KORE_HTTP_GET   0
#define KORE_HTTP_POST   1
#define KORE_HTTP_PUT   2
#define KORE_HTTP_DELETE   3

Typedefs

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

Functions

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

Detailed Description

Provides a simple http-API.