Opened finishLastLine to script

Opened finishLastLine to script so you can eat the rest of the lines in
script.
This commit is contained in:
Nathan Bowhay 2015-02-05 11:44:32 -08:00
parent 5f0b3984fc
commit 0a76809092

View file

@ -457,6 +457,11 @@ DefineEngineMethod(TCPObject, sendFile, bool, (const char *fileName),,
return object->sendFile(fileName);
}
DefineEngineMethod(TCPObject, finishLastLine, void, (),,
"@brief Eat the rest of the lines.\n")
{
object->finishLastLine();
}
DefineEngineMethod(TCPObject, listen, void, (U32 port),,
"@brief Start listening on the specified port for connections.\n\n"