summaryrefslogtreecommitdiffstats
path: root/src/HTTP/HTTPMessageParser.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-22 19:49:33 +0200
committerMattes D <github@xoft.cz>2016-08-22 22:16:42 +0200
commit6c760ee348dfa61560660c214799b793ce17513b (patch)
treec32a262d6ad5a62823c655a4cc01d78c41f515a4 /src/HTTP/HTTPMessageParser.h
parentMerge pull request #3341 from cuberite/LuaStateImprovements (diff)
downloadcuberite-6c760ee348dfa61560660c214799b793ce17513b.tar
cuberite-6c760ee348dfa61560660c214799b793ce17513b.tar.gz
cuberite-6c760ee348dfa61560660c214799b793ce17513b.tar.bz2
cuberite-6c760ee348dfa61560660c214799b793ce17513b.tar.lz
cuberite-6c760ee348dfa61560660c214799b793ce17513b.tar.xz
cuberite-6c760ee348dfa61560660c214799b793ce17513b.tar.zst
cuberite-6c760ee348dfa61560660c214799b793ce17513b.zip
Diffstat (limited to '')
-rw-r--r--src/HTTP/HTTPMessageParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HTTP/HTTPMessageParser.h b/src/HTTP/HTTPMessageParser.h
index f07de0492..307714243 100644
--- a/src/HTTP/HTTPMessageParser.h
+++ b/src/HTTP/HTTPMessageParser.h
@@ -31,7 +31,8 @@ public:
/** Called when an error has occured while parsing. */
virtual void OnError(const AString & a_ErrorDescription) = 0;
- /** Called when the first line (request / status) is fully parsed. */
+ /** Called when the first line of the request or response is fully parsed.
+ Doesn't check the validity of the line, only extracts the first complete line. */
virtual void OnFirstLine(const AString & a_FirstLine) = 0;
/** Called when a single header line is parsed. */