Various small interface changes
This commit is contained in:
parent
17d77fe8ce
commit
e6b33cb76c
@ -71,7 +71,7 @@ public:
|
||||
|
||||
void Cancel() wxOVERRIDE;
|
||||
|
||||
wxWebResponse* GetResponse() wxOVERRIDE;
|
||||
wxWebResponse* GetResponse() const wxOVERRIDE;
|
||||
|
||||
wxWebAuthChallenge* GetAuthChallenge() const wxOVERRIDE { return m_authChallenge.get(); }
|
||||
|
||||
|
@ -69,7 +69,7 @@ public:
|
||||
|
||||
virtual void Cancel() = 0;
|
||||
|
||||
virtual wxWebResponse* GetResponse() = 0;
|
||||
virtual wxWebResponse* GetResponse() const = 0;
|
||||
|
||||
virtual wxWebAuthChallenge* GetAuthChallenge() const = 0;
|
||||
|
||||
@ -97,12 +97,12 @@ protected:
|
||||
wxSharedPtr<wxInputStream> m_dataStream;
|
||||
|
||||
wxWebRequest(wxWebSession& session, int id):
|
||||
m_storage(Storage_Memory),
|
||||
m_dataSize(0),
|
||||
m_session(session),
|
||||
m_id(id),
|
||||
m_state(State_Idle),
|
||||
m_ignoreServerErrorStatus(false),
|
||||
m_dataSize(0),
|
||||
m_storage(Storage_Memory) { }
|
||||
m_ignoreServerErrorStatus(false) { }
|
||||
|
||||
bool CheckServerStatus();
|
||||
|
||||
|
@ -264,7 +264,7 @@ void wxWebRequestWinHTTP::Start()
|
||||
else
|
||||
port = wxAtoi(uri.GetPort());
|
||||
|
||||
// Open a connction
|
||||
// Open a connection
|
||||
m_connect = ::WinHttpConnect(
|
||||
static_cast<wxWebSessionWinHTTP&>(GetSession()).GetHandle(),
|
||||
uri.GetServer().wc_str(), port, 0);
|
||||
@ -346,7 +346,7 @@ void wxWebRequestWinHTTP::Cancel()
|
||||
}
|
||||
}
|
||||
|
||||
wxWebResponse* wxWebRequestWinHTTP::GetResponse()
|
||||
wxWebResponse* wxWebRequestWinHTTP::GetResponse() const
|
||||
{
|
||||
return m_response.get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user