|
fw4spl
|
HTTP client using Qt Network. More...
#include <ClientQt.hpp>
Inheritance diagram for fwNetworkIO::http::ClientQt:
Collaboration diagram for fwNetworkIO::http::ClientQt:Public Slots | |
| void | processError (QNetworkReply::NetworkError errorCode) |
| Slot triggered when an error occurs. | |
Public Member Functions | |
| FWNETWORKIO_API QByteArray | get (Request::sptr request) |
| Retrieves data over network. More... | |
| FWNETWORKIO_API std::string | getFile (Request::sptr request) |
| Retrieves data over network. More... | |
| FWNETWORKIO_API Request::HeadersType | head (Request::sptr request) |
| Performs head request. More... | |
| FWNETWORKIO_API QByteArray | post (Request::sptr request, const QByteArray &body) |
| Performs POST request. More... | |
| FWNETWORKIO_API | ClientQt () |
| virtual FWNETWORKIO_API | ~ClientQt () |
HTTP client using Qt Network.
Definition at line 35 of file ClientQt.hpp.
| fwNetworkIO::http::ClientQt::ClientQt | ( | ) |
Constructor/Destructor
Definition at line 24 of file ClientQt.cpp.
|
virtual |
Constructor/Destructor
Definition at line 30 of file ClientQt.cpp.
| QByteArray fwNetworkIO::http::ClientQt::get | ( | Request::sptr | request | ) |
Retrieves data over network.
| request | the request |
Definition at line 36 of file ClientQt.cpp.
References processError().
Referenced by ioDicomWeb::SQueryEditor::updating(), ioDicomWeb::SSeriesPuller::updating(), and ioDicomWeb::SSliceIndexDicomPullerEditor::updating().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string fwNetworkIO::http::ClientQt::getFile | ( | Request::sptr | request | ) |
Retrieves data over network.
| request | the request |
Definition at line 58 of file ClientQt.cpp.
References fwTools::UUID::generateUUID(), fwTools::System::getTemporaryFolder(), and processError().
Referenced by ioDicomWeb::SSeriesPuller::updating(), and ioDicomWeb::SSliceIndexDicomPullerEditor::updating().
Here is the call graph for this function:
Here is the caller graph for this function:| Request::HeadersType fwNetworkIO::http::ClientQt::head | ( | Request::sptr | request | ) |
Performs head request.
| request | the request |
Definition at line 158 of file ClientQt.cpp.
| QByteArray fwNetworkIO::http::ClientQt::post | ( | Request::sptr | request, |
| const QByteArray & | body | ||
| ) |
Performs POST request.
| request | the request |
Definition at line 124 of file ClientQt.cpp.
References processError().
Referenced by ioDicomWeb::SQueryEditor::updating(), ioDicomWeb::SSeriesPusher::updating(), ioDicomWeb::SSeriesPuller::updating(), and ioDicomWeb::SSliceIndexDicomPullerEditor::updating().
Here is the call graph for this function:
Here is the caller graph for this function: