& content_type,
91 string* content_log =
NULL);
116 string& content_type);
A very basic data-read interface.
std::ofstream out("events_result.xml")
main entry point for tests
void x_ReadMultipartHeaders(string &name, string &filename, string &content_type)
EReadTerminator x_DelimitedRead(string &s, SIZE_TYPE n=NPOS)
void x_FlushCurrentEntry(void)
TCgiEntries::iterator TCgiEntriesI
CCgiEntryReaderContext(CNcbiIstream &in, TCgiEntries &out, const string &content_type, size_t content_length=CCgiRequest::kContentLengthUnknown, string *content_log=NULL)
void IncludePreparsedEntries(void)
void x_HitBoundary(bool final)
ERW_Result PendingCount(size_t *count)
Via parameter "count" (which is guaranteed to be supplied non-NULL) return the number of bytes that a...
TCgiEntriesI GetNextEntry(void)
EContentType m_ContentType
void x_ReadURLEncodedEntry(string &name, string &value)
CCgiEntryReader(TContext &context)
~CCgiEntryReaderContext()
ERW_Result Read(void *buf, size_t count, size_t *bytes_read)
Read as many as "count" bytes into a buffer pointed to by the "buf" argument.
bool m_ContentTypeDeclared
TReader * m_CurrentReader
static const size_t kContentLengthUnknown
Get content length using value of the property 'eCgi_ContentLength'.
CCgiEntryReaderContext TContext
void x_FillBuffer(SIZE_TYPE count)
CCgiEntry * m_CurrentEntry
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
ERW_Result
Result codes for I/O operations.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
NCBI_NS_STD::string::size_type SIZE_TYPE
const GenericPointer< typename T::ValueType > T2 value
std::istream & in(std::istream &in_, double &x_)
static CS_CONTEXT * context
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4