<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > CURL > cUrl_Http > <cUrl_Http> Request Properties > <cUrl_Http>.Headers > <cUrl_Http>.Headers.Count |
Description
Retrieves number of headers in given request.
Syntax
totalCountOfHeaders = <cUrl_Http>.Headers.Count
Returns
Total count of headers present in the request header.
Remarks
Restrictions
See also
Examples
uses "curl", "console"
Dim httpRequest As New cUrl_Http
printl httpRequest.Headers.Count ' Will return 0
httpRequest.Headers.Add("Content-type: application/json")
printl httpRequest.Headers.Count ' Will return 1