CNcbiIstream & GetResponseStream()
CRef< CHttpResponse > m_Response
CGuiHttpSessionRequest(const string &url)
static CGuiRegistry & GetInstance()
access the application-wide singleton
int GetInt(const string &key, int default_val=0) const
retrieve values by section and key.
CTimeout – Timeout interval.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
CNcbiIstream & ContentStream(void) const
Get input stream.
CHttpRequest & SetRetryProcessing(ESwitch on_off)
Set whether Execute() should wait for actual response.
CHttpRequest & SetDeadline(const CTimeout &deadline)
Set new deadline for Execute().
CHttpRequest NewRequest(const CUrl &url, ERequestMethod method=eGet, const CHttpParam ¶m={})
Initialize request.
CHttpResponse Execute(void)
Send the request, initialize and return the response.
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.