File size: 651 Bytes
72629ed | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #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[]); |