Commit Graph

21 Commits

Author SHA1 Message Date
Vadim Zeitlin
0c9f4ababa Document wxWebResponse pointers as being non-owning
wxWebResponse objects belong to wxWebRequest itself.
2020-12-13 00:47:53 +01:00
Vadim Zeitlin
3a5f5006fb Fix typo in wxWebRequest documentation 2020-12-13 00:43:36 +01:00
Vadim Zeitlin
727b590814 Pass wxSharedPtr argument of RegisterFactory() by const reference
Avoid extra copies from passing it by value.
2020-12-13 00:19:03 +01:00
Vadim Zeitlin
64a3801160 Tweaks to wxWebRequest::SetData() overload taking stream
Check that the stream is valid, if specified at all, and return false if
it isn't -- or if no size was specified and determining stream size
failed.

Check for SetData() success in the test to provide better diagnostics in
case the file it uses is not found (as is the case when running the test
from another directory, for example).

Also pass wxSharedPtr<> by const reference instead of by value to avoid
unnecessary copies.
2020-12-12 18:46:28 +01:00
Tobias Taschner
68cbd54db0 Update since version 2018-12-10 21:09:47 +01:00
Tobias Taschner
45f006d752 Add wxWebSession::GetLibraryVersionInfo() 2018-12-10 19:38:12 +01:00
Cătălin Răceanu
0051bbd605 Update interface/wx/webrequest.h
Co-Authored-By: TcT2k <TcT2k@users.noreply.github.com>
2018-12-10 19:38:00 +01:00
Tobias Taschner
f40e2e64d9 Add wxWebRequest::SplitParameters method
This method is adapted for use in wxWidgets from the Poco library.
2018-12-10 19:37:55 +01:00
Maarten Bent
028af93c35 Fix documentation types/inconsistencies 2018-12-10 19:37:54 +01:00
Tobias Taschner
faa81dcdf1 Update documentation 2018-12-10 19:37:43 +01:00
Tobias Taschner
f1d0a00911 Update wxWebRequest documentation 2018-12-10 19:37:36 +01:00
Tobias Taschner
1a34f3dab9 Document authentication changes 2018-12-10 19:37:34 +01:00
Tobias Taschner
b11fbd0901 Update wxWebRequest documentation 2018-12-10 19:37:26 +01:00
Tobias Taschner
a4279752f8 Start wxWebRequestWinHTTP implementation
Can already run the GET request in the sample app
2018-12-10 19:37:23 +01:00
Tobias Taschner
e07c1bf40c Prepared wxWebRequest implementation 2018-12-10 19:37:21 +01:00
Tobias Taschner
cacd79d40e Add wxWebSessionFactory and wxWebRequestEvent to documentation 2018-12-10 19:37:20 +01:00
Cătălin Răceanu
788c28f97d Fix typos in interface/wx/webrequest.h 2018-12-10 19:37:19 +01:00
Tobias Taschner
2fc1024949 Fix additional wxWebRequest typos and clarification 2018-12-10 19:37:18 +01:00
Tobias Taschner
30d56ec5b7 Further wxWebRequest documentation improvements 2018-12-10 19:37:16 +01:00
Cătălin Răceanu
bd73551f1f Fix various typos and style in wxWebRequest documentation 2018-12-10 19:37:15 +01:00
Tobias Taschner
d2c7d80544 Add wxWebRequest documentation 2018-12-10 19:36:26 +01:00