Return the next response header field name and value.
Syntax
object.GetNextHeader( HeaderField,
HeaderValue )
Parameters
- HeaderField
- A string that will contain the name of the first header field
returned by the server.
- HeaderValue
- A string that will contain the value of the specified header
field.
Return Value
This method returns a Boolean value. If the method succeeds,
it will return True. If the method fails, it will return False.
Remarks
The GetNextHeader method is used get the next header field
name and value from the response header returned by the server. This
method should only be called after the client has requested the
resource. This method is used in conjunction with the
GetFirstHeader method to enumerate all of the response header
fields returned by the server.
See Also
HeaderField Property,
HeaderValue Property,
GetFirstHeader Method,
SetHeader Method
|