godot/scene/main/http_request.cpp

/**************************************************************************/
/*  http_request.cpp                                                      */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "http_request.h"
#include "core/io/compression.h"
#include "scene/main/timer.h"

Error HTTPRequest::_request() {}

Error HTTPRequest::_parse_url(const String &p_url) {}

bool HTTPRequest::has_header(const PackedStringArray &p_headers, const String &p_header_name) {}

String HTTPRequest::get_header_value(const PackedStringArray &p_headers, const String &p_header_name) {}

Error HTTPRequest::request(const String &p_url, const Vector<String> &p_custom_headers, HTTPClient::Method p_method, const String &p_request_data) {}

Error HTTPRequest::request_raw(const String &p_url, const Vector<String> &p_custom_headers, HTTPClient::Method p_method, const Vector<uint8_t> &p_request_data_raw) {}

void HTTPRequest::_thread_func(void *p_userdata) {}

void HTTPRequest::cancel_request() {}

bool HTTPRequest::_handle_response(bool *ret_value) {}

bool HTTPRequest::_update_connection() {}

void HTTPRequest::_defer_done(int p_status, int p_code, const PackedStringArray &p_headers, const PackedByteArray &p_data) {}

void HTTPRequest::_request_done(int p_status, int p_code, const PackedStringArray &p_headers, const PackedByteArray &p_data) {}

void HTTPRequest::_notification(int p_what) {}

void HTTPRequest::set_use_threads(bool p_use) {}

bool HTTPRequest::is_using_threads() const {}

void HTTPRequest::set_accept_gzip(bool p_gzip) {}

bool HTTPRequest::is_accepting_gzip() const {}

void HTTPRequest::set_body_size_limit(int p_bytes) {}

int HTTPRequest::get_body_size_limit() const {}

void HTTPRequest::set_download_file(const String &p_file) {}

String HTTPRequest::get_download_file() const {}

void HTTPRequest::set_download_chunk_size(int p_chunk_size) {}

int HTTPRequest::get_download_chunk_size() const {}

HTTPClient::Status HTTPRequest::get_http_client_status() const {}

void HTTPRequest::set_max_redirects(int p_max) {}

int HTTPRequest::get_max_redirects() const {}

int HTTPRequest::get_downloaded_bytes() const {}

int HTTPRequest::get_body_size() const {}

void HTTPRequest::set_http_proxy(const String &p_host, int p_port) {}

void HTTPRequest::set_https_proxy(const String &p_host, int p_port) {}

void HTTPRequest::set_timeout(double p_timeout) {}

double HTTPRequest::get_timeout() {}

void HTTPRequest::_timeout() {}

void HTTPRequest::set_tls_options(const Ref<TLSOptions> &p_options) {}

void HTTPRequest::_bind_methods() {}

HTTPRequest::HTTPRequest() {}