Skip to content

cf_https_response_headers

Category: web
GitHub: cute_https.h


Returns an array of response headers.

dyna const CF_HttpsHeader* cf_https_response_headers(CF_HttpsResponse response);

Remarks

Intended to be used with cf_https_response_headers_count. Do not free this array, it will get cleaned up when the originating CF_HttpsRequest is destroyed via cf_https_destroy. The returned array is indexed by position, use cf_https_response_find_header to look up by name.

CF_HttpsHeader
CF_HttpsResponse
cf_https_response_find_header