Return the value of the specified response header field.
This method returns a Boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
The GetHeader method is used get the value of a specific header field from the response headers returned by the server. This method should only be called after the client has requested the resource. To enumerate all of the header fields returned by the server, use the GetFirstHeader and GetNextHeader methods.
HttpClient Class | SocketTools Namespace | AddHeaders Method | SetHeader Method