mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
Merge pull request #344 from RangelReale/htmlformcontentlength
HTMLForm Content-Length calculation
This commit is contained in:
@@ -69,6 +69,15 @@ public:
|
||||
int getCurrentLineNumber() const;
|
||||
/// Returns the current line number (same as lines()).
|
||||
|
||||
void addChars(int chars);
|
||||
/// Add to the total number of characters.
|
||||
|
||||
void addLines(int lines);
|
||||
/// Add to the total number of lines.
|
||||
|
||||
void addPos(int pos);
|
||||
/// Add to the number of characters on the current line.
|
||||
|
||||
protected:
|
||||
int readFromDevice();
|
||||
int writeToDevice(char c);
|
||||
@@ -124,6 +133,15 @@ public:
|
||||
int getCurrentLineNumber() const;
|
||||
/// Returns the current line number (same as lines()).
|
||||
|
||||
void addChars(int chars);
|
||||
/// Add to the total number of characters.
|
||||
|
||||
void addLines(int lines);
|
||||
/// Add to the total number of lines.
|
||||
|
||||
void addPos(int pos);
|
||||
/// Add to the number of characters on the current line.
|
||||
|
||||
CountingStreamBuf* rdbuf();
|
||||
/// Returns a pointer to the underlying streambuf.
|
||||
|
||||
|
Reference in New Issue
Block a user