-Work on addon editor plugin (disabled by default)
-New HTTPRequest node, to make HTTP requests simpler.
This commit is contained in:
parent
3fc80f65cd
commit
5a9b18b665
18 changed files with 1679 additions and 18 deletions
|
|
@ -31,10 +31,6 @@
|
|||
|
||||
VARIANT_ENUM_CAST(HTTPClient::Status);
|
||||
|
||||
Error HTTPClient::connect_url(const String& p_url) {
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
Error HTTPClient::connect(const String &p_host, int p_port, bool p_ssl,bool p_verify_host){
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ private:
|
|||
public:
|
||||
|
||||
|
||||
Error connect_url(const String& p_url); //connects to a full url and perform request
|
||||
//Error connect_and_get(const String& p_url,bool p_verify_host=true); //connects to a full url and perform request
|
||||
Error connect(const String &p_host,int p_port,bool p_ssl=false,bool p_verify_host=true);
|
||||
|
||||
void set_connection(const Ref<StreamPeer>& p_connection);
|
||||
|
|
@ -192,7 +192,7 @@ public:
|
|||
|
||||
Error poll();
|
||||
|
||||
String query_string_from_dict(const Dictionary& p_dict);
|
||||
String query_string_from_dict(const Dictionary& p_dict);
|
||||
|
||||
HTTPClient();
|
||||
~HTTPClient();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue