globus_connect_gridftp_server  16.8
Data Fields
globus_dsi_rest_response_arg_s Struct Reference

Response specialization response_callback_arg. More...

#include <globus_dsi_rest.h>

Collaboration diagram for globus_dsi_rest_response_arg_s:
Collaboration graph
[legend]

Data Fields

int response_code
 
globus_dsi_rest_key_array_t desired_headers
 
off_t request_bytes_uploaded
 
off_t response_bytes_downloaded
 

Detailed Description

Response specialization response_callback_arg.

A pointer to a data structure of this type must be be used as the response_callback_arg parameter when using the globus_dsi_rest_response function as the response_callback to globus_dsi_rest_request().

Field Documentation

◆ desired_headers

globus_dsi_rest_key_array_t globus_dsi_rest_response_arg_s::desired_headers

Array of header names is updated by globus_dsi_rest_response with their values if present, or NULL if not

◆ request_bytes_uploaded

off_t globus_dsi_rest_response_arg_s::request_bytes_uploaded

The number of bytes of the request body which were sent to the server. This may not be the amount the server received if some network error occurred.

◆ response_bytes_downloaded

off_t globus_dsi_rest_response_arg_s::response_bytes_downloaded

The number of bytes of the request body which were received from the server. * This may not be the amount the server sent if some network error occurred.

◆ response_code

int globus_dsi_rest_response_arg_s::response_code

Value of the HTTP response code


The documentation for this struct was generated from the following file: