mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 09:44:19 +00:00
12c9c35db5
The _StatusCode command returns the status code on the HTTP response when given a HTTP handle from _OpenClient().
50 lines
784 B
C++
50 lines
784 B
C++
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <stdint.h>
|
|
|
|
#include "http.h"
|
|
|
|
void libqb_http_init() {
|
|
}
|
|
|
|
void libqb_http_stop() {
|
|
}
|
|
|
|
int libqb_http_open(const char *url, int handle) {
|
|
return -1;
|
|
}
|
|
|
|
int libqb_http_close(int handle) {
|
|
return -1;
|
|
}
|
|
|
|
int libqb_http_connected(int handle) {
|
|
return -1;
|
|
}
|
|
|
|
int libqb_http_get_length(int handle, size_t *length) {
|
|
*length = 0;
|
|
return -1;
|
|
}
|
|
|
|
int libqb_http_get(int handle, char *buf, size_t *length) {
|
|
return -1;
|
|
}
|
|
|
|
int libqb_http_get_fixed(int id, char *buf, size_t length) {
|
|
return -1;
|
|
}
|
|
|
|
int libqb_http_get_content_length(int id, uint64_t *ptr) {
|
|
return -1;
|
|
}
|
|
|
|
int libqb_http_get_status_code(int id) {
|
|
return -1;
|
|
}
|
|
|
|
const char *libqb_http_get_url(int handle) {
|
|
return NULL;
|
|
}
|