Rename wxWebSession::SetHeader() to AddCommonHeader()
The old name wasn't very clear and it was confusing to have methods with the same name in wxWebSession and wxWebRequest.
This commit is contained in:
@@ -581,10 +581,13 @@ public:
|
||||
A good example for a session-wide request header is the @c User-Agent
|
||||
header.
|
||||
|
||||
Calling this function with the same header name again replaces the
|
||||
previously used value.
|
||||
|
||||
@param name Name of the header
|
||||
@param value String value of the header
|
||||
*/
|
||||
void SetHeader(const wxString& name, const wxString& value);
|
||||
void AddCommonHeader(const wxString& name, const wxString& value);
|
||||
|
||||
/**
|
||||
Override the default temporary directory that may be used by the
|
||||
|
Reference in New Issue
Block a user