22 #ifndef BACKENDS_NETWORKING_SDL_NET_READER_H 23 #define BACKENDS_NETWORKING_SDL_NET_READER_H 25 #include "common/str.h" 26 #include "common/hashmap.h" 27 #include "common/hash-str.h" 30 class MemoryReadWriteStream;
44 RM_POST_FORM_MULTIPART
86 uint32 _windowUsed, _windowSize, _windowReadPosition, _windowWritePosition;
94 uint32 _contentLength;
96 uint32 _availableBytes;
103 bool readAndHandleFirstHeaders();
110 void parseQueryParameters();
112 void makeWindow(uint32 size);
117 uint32 bytesLeft()
const;
120 static const int32 SUSPICIOUS_HEADERS_SIZE = 1024 * 1024;
127 bool readFirstHeaders();
133 void setMode(ReaderMode mode);
136 bool badRequest()
const;
137 bool noMoreContent()
const;
Definition: scummvmcloud.h:31
Definition: algorithm.h:29
Definition: memstream.h:283