doc
This commit is contained in:
BIN
Binary file not shown.
@@ -1,17 +0,0 @@
|
||||
// net.fox - Простая сетевая библиотека FoxLang
|
||||
|
||||
// HTTP POST запрос (заглушка)
|
||||
string http_post(string url, string data) {
|
||||
print("http_post not implemented yet");
|
||||
return "";
|
||||
}
|
||||
|
||||
// Простой GET с обработкой ошибок
|
||||
string get_url(string url) {
|
||||
string response = http_get(url);
|
||||
if (response == "") {
|
||||
print("ERROR: Failed to fetch " + url);
|
||||
return "{}";
|
||||
}
|
||||
return response;
|
||||
}
|
||||
Reference in New Issue
Block a user