mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 20:24:41 +00:00
Expose HTTP classes' set_ip_type to scripting
This commit is contained in:
parent
de23ce11b5
commit
d194e1c48e
4 changed files with 12 additions and 7 deletions
|
|
@ -539,6 +539,7 @@ int HTTPRequest::get_body_size() const{
|
|||
|
||||
void HTTPRequest::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_ip_type","ip_type"),&HTTPRequest::set_ip_type);
|
||||
ObjectTypeDB::bind_method(_MD("request","url","custom_headers","ssl_validate_domain","method","request_data"),&HTTPRequest::request,DEFVAL(StringArray()),DEFVAL(true),DEFVAL(HTTPClient::METHOD_GET),DEFVAL(String()));
|
||||
ObjectTypeDB::bind_method(_MD("cancel_request"),&HTTPRequest::cancel_request);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue