append_pair | http_pair | Subroutine | Appends a new pair_type instance with the provided name
and value into the given pair_type array (i.e pair). Read more… |
client_get_response | http_client | Function | This function sends an HTTP request to a server using the
fortran-curl package
and stores the server's response in a response_type
object. Read more… |
client_header_callback | http_client | Function | This function is a callback function used by the fortran-curl package to handle HTTP headers. Read more… |
client_response_callback | http_client | Function | This function is a callback function used by the fortran-curl package to handle HTTP responses.
It is called for each chunk of data received from the server and appends the data to a
response_type object. Read more… |
client_type | http_client | Interface | Interface for new_client function. Read more… |
get_pair_value | http_pair | Function | The function retrieves the value associated with a specified
name from the passed array of pair_type objects (i.e., pair_arr).
The search for the name is case-insensitive. If the name is
not found, the function returns an unallocated string. In the case
of duplicate name entries in the pair_arr , the function returns the
value of the first occurrence of the name . Read more… |
header_value | http_response | Function | This function is used to retrieve the value of a response header.
It takes the response header name as input and returns the corresponding
header value. Read more… |
new_client | http_client | Function | This is the constructor for the client_type derived type. Read more… |
new_request | http_client | Function | This function create a request_type object and populates it.
The function returns the response_type object containing the
server's response. Read more… |
pair_has_name | http_pair | Function | Return .true. if there exists a pair_type object inside pair_arr with
a name attribute equal to the provided name ; otherwise, return .false. .
HTTP pairs are case-insensitive, implying that values are converted to
lowercase before the comparison is performed. Read more… |
prepare_form_encoded_str | http_client | Function | This subroutine converts the request%form into a URL-encoded name-value
string and returns it. Read more… |
prepare_request_header_ptr | http_client | Subroutine | This subroutine prepares headers in required format(Linked list) for an HTTP request. Read more… |
request | http_client | Interface | Interface for new_request function. Read more… |
set_auth | http_client | Function | Set the user name and password for Authentication. Read more… |
set_body | http_client | Function | The function sets the request body . Read more… |
set_method | http_client | Function | This function sets the HTTP method for the request. Read more… |
set_postfields | http_client | Function | Set the data to be sent in the HTTP POST request body. Read more… |
set_timeout | http_client | Function | This function sets the timeout value (in seconds). Read more… |