Functions in easy_http.inc

List of functions

Function Description
ezhttp_create_options
ezhttp_option_set_user_agent
ezhttp_option_add_url_parameter
ezhttp_option_add_form_payload
ezhttp_option_set_body
ezhttp_option_set_body_from_json
Copies serialized string to the requests body.
ezhttp_option_append_body
ezhttp_option_set_header
ezhttp_option_set_cookie
ezhttp_option_set_timeout
ezhttp_option_set_connect_timeout
ezhttp_option_set_proxy
ezhttp_option_set_proxy_auth
ezhttp_option_set_auth
ezhttp_option_set_user_data
ezhttp_option_set_plugin_end_behaviour
ezhttp_option_set_queue
ezhttp_get
ezhttp_post
ezhttp_put
ezhttp_patch
ezhttp_delete
ezhttp_is_request_exists
ezhttp_cancel_request
ezhttp_get_http_code
ezhttp_get_data
ezhttp_parse_json_response
Parses http response body to JSON.
ezhttp_get_url
ezhttp_get_headers_count
ezhttp_get_headers
ezhttp_get_elapsed
ezhttp_get_cookies_count
ezhttp_get_cookies
ezhttp_get_error_code
ezhttp_get_error_message
ezhttp_get_redirect_count
ezhttp_get_uploaded_bytes
ezhttp_get_downloaded_bytes
ezhttp_get_user_data
ezhttp_ftp_upload
ezhttp_ftp_upload2
ezhttp_ftp_download
ezhttp_ftp_download2
ezhttp_create_queue
ezjson_parse
Parses JSON string or a file that contains JSON.
ezjson_equals
Checks if the first value is the same as the second one.
ezjson_validate
Validates json by checking if object have identically named
fields with matching types.
ezjson_get_parent
Gets value's parent handle.
ezjson_get_type
Gets JSON type of passed value.
ezjson_init_object
Inits an empty object.
ezjson_init_array
Inits an empty array.
ezjson_init_string
Inits string data.
ezjson_init_number
Inits a number.
ezjson_init_real
Inits a real number.
ezjson_init_bool
Inits a boolean value.
ezjson_init_null
Inits a null.
ezjson_deep_copy
Creates deep copy of passed value.
ezjson_free
Frees handle.
ezjson_get_string
Gets string data.
ezjson_get_number
Gets a number.
ezjson_get_real
Gets a real number.
ezjson_get_bool
Gets a boolean value.
ezjson_array_get_value
Gets a value from the array.
ezjson_array_get_string
Gets string data from the array.
ezjson_array_get_number
Gets a number from the array.
ezjson_array_get_real
Gets a real number from the array.
ezjson_array_get_bool
Gets a boolean value from the array.
ezjson_array_get_count
Gets count of the elements in the array.
ezjson_array_replace_value
Replaces an element in the array with value.
ezjson_array_replace_string
Replaces an element in the array with string data.
ezjson_array_replace_number
Replaces an element in the array with number.
ezjson_array_replace_real
Replaces an element in the array with real number.
ezjson_array_replace_bool
Replaces an element in the array with boolean value.
ezjson_array_replace_null
Replaces an element in the array with null.
ezjson_array_append_value
Appends a value in the array.
ezjson_array_append_string
Appends string data in the array.
ezjson_array_append_number
Appends a number in the array.
ezjson_array_append_real
Appends a real number in the array.
ezjson_array_append_bool
Appends a boolean value in the array.
ezjson_array_append_null
Appends a null in the array.
ezjson_array_remove
Removes an element from the array.
ezjson_array_clear
Removes all elements from the array.
ezjson_object_get_value
Gets a value from the object.
ezjson_object_get_string
Gets string data from the object.
ezjson_object_get_number
Gets a number from the object.
ezjson_object_get_real
Gets a real number from the object.
ezjson_object_get_bool
Gets a boolean value from the object.
ezjson_object_get_count
Gets count of the keys in the object.
ezjson_object_get_name
Gets name of the object's key.
ezjson_object_get_value_at
Gets a value at the specified position from the object.
ezjson_object_has_value
Checks if the object has a value with a specific name and type.
ezjson_object_set_value
Sets a value in the object.
ezjson_object_set_string
Sets string data in the object.
ezjson_object_set_number
Sets a number in the object.
ezjson_object_set_real
Sets a real number in the object.
ezjson_object_set_bool
Sets a boolean value in the object.
ezjson_object_set_null
Sets a null in the object.
ezjson_object_remove
Removes a key and its value in the object.
ezjson_object_clear
Removes all keys and their values in the object.
ezjson_serial_size
Gets size of serialization.
ezjson_serial_to_string
Copies serialized string to the buffer.
ezjson_serial_to_file
Copies serialized string to the file.