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:
Vadim Zeitlin
2021-01-11 03:02:25 +01:00
parent 76167e271b
commit 4986850c63
4 changed files with 9 additions and 6 deletions

View File

@@ -205,7 +205,7 @@ public:
virtual wxVersionInfo GetLibraryVersionInfo() = 0;
void SetHeader(const wxString& name, const wxString& value)
void AddCommonHeader(const wxString& name, const wxString& value)
{ m_headers[name] = value; }
void SetTempDir(const wxString& dir) { m_tempDir = dir; }