Includes-Samp / a_http.inc
dfdffdfdfdfd's picture
Upload 31 files
72629ed verified
Raw
History Blame Contribute Delete
651 Bytes
#if defined _INC_a_http
#endinput
#endif
#define _INC_a_http
#define SAMP_CONST_CORRECT
#pragma tabsize 4
#define HTTP_GET (1)
#define HTTP_POST (2)
#define HTTP_HEAD (3)
#define HTTP_ERROR_BAD_HOST (1)
#define HTTP_ERROR_NO_SOCKET (2)
#define HTTP_ERROR_CANT_CONNECT (3)
#define HTTP_ERROR_CANT_WRITE (4)
#define HTTP_ERROR_CONTENT_TOO_BIG (5)
#define HTTP_ERROR_MALFORMED_RESPONSE (6)
native HTTP(index, type, const url[], const data[], const callback[]);