Skip to content

libcURL.ResponseHeaderEngine.Count

Andrew Lambert edited this page Jul 26, 2022 · 9 revisions

Method Signature

 Function Count(Name As String = "", Origin As libcURL.HeaderOriginType = libcURL.HeaderOriginType.Any, RequestIndex As Integer = - 1) As Integer

Parameters

Name Type Comment
Name String Optional. The name of the headers to count instances of.
Origin HeaderOriginType Optional. The origin type of the headers to count instances of.
RequestIndex Integer Optional. The request index to count the headers of.

Return value

The number of headers that match the parameters.

Remarks

Counts the number of response headers that match all of the parameters. If a parameter is unspecified then all headers match it. Hence, with no parameters specified this method counts the total number of all response headers.

Clone this wiki locally