HTTPRequest
Inherited By: JamHttpRequestPool.HttpHolder
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
void |
cancel_request ( ) |
get_body_size ( ) const |
|
get_downloaded_bytes ( ) const |
|
get_http_client_status ( ) const |
|
request ( String url, PackedStringArray custom_headers=PackedStringArray(), Method method=0, String request_data=”” ) |
|
request_raw ( String url, PackedStringArray custom_headers=PackedStringArray(), Method method=0, PackedByteArray request_data_raw=PackedByteArray() ) |
|
void |
set_http_proxy ( String host, int port ) |
void |
set_https_proxy ( String host, int port ) |
void |
set_tls_options ( TLSOptions client_options ) |
Signals
request_completed ( int result, int response_code, PackedStringArray headers, PackedByteArray body )
There is currently no description for this signal. Please help us by contributing one!
Enumerations
enum Result:
Result RESULT_SUCCESS = 0
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_CHUNKED_BODY_SIZE_MISMATCH = 1
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_CANT_CONNECT = 2
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_CANT_RESOLVE = 3
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_CONNECTION_ERROR = 4
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_TLS_HANDSHAKE_ERROR = 5
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_NO_RESPONSE = 6
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_BODY_SIZE_LIMIT_EXCEEDED = 7
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_BODY_DECOMPRESS_FAILED = 8
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_REQUEST_FAILED = 9
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_DOWNLOAD_FILE_CANT_OPEN = 10
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_DOWNLOAD_FILE_WRITE_ERROR = 11
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_REDIRECT_LIMIT_REACHED = 12
There is currently no description for this enum. Please help us by contributing one!
Result RESULT_TIMEOUT = 13
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
bool accept_gzip = true
There is currently no description for this property. Please help us by contributing one!
int body_size_limit = -1
There is currently no description for this property. Please help us by contributing one!
int download_chunk_size = 65536
There is currently no description for this property. Please help us by contributing one!
String download_file = ""
There is currently no description for this property. Please help us by contributing one!
int max_redirects = 8
There is currently no description for this property. Please help us by contributing one!
float timeout = 0.0
There is currently no description for this property. Please help us by contributing one!
bool use_threads = false
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void cancel_request ( )
There is currently no description for this method. Please help us by contributing one!
int get_body_size ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_downloaded_bytes ( ) const
There is currently no description for this method. Please help us by contributing one!
Status get_http_client_status ( ) const
There is currently no description for this method. Please help us by contributing one!
Error request ( String url, PackedStringArray custom_headers=PackedStringArray(), Method method=0, String request_data=”” )
There is currently no description for this method. Please help us by contributing one!
Error request_raw ( String url, PackedStringArray custom_headers=PackedStringArray(), Method method=0, PackedByteArray request_data_raw=PackedByteArray() )
There is currently no description for this method. Please help us by contributing one!
void set_http_proxy ( String host, int port )
There is currently no description for this method. Please help us by contributing one!
void set_https_proxy ( String host, int port )
There is currently no description for this method. Please help us by contributing one!
void set_tls_options ( TLSOptions client_options )
There is currently no description for this method. Please help us by contributing one!