diff Core/HttpServer/HttpOutput.h @ 1521:3606278d305e

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2015 13:37:24 +0200
parents 8bd0d897763f
children 9c5d93510414
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.h	Tue Aug 11 13:26:42 2015 +0200
+++ b/Core/HttpServer/HttpOutput.h	Tue Aug 11 13:37:24 2015 +0200
@@ -170,12 +170,12 @@
       stateMachine_.AddHeader(key, value);
     }
 
-    void SendBody(const void* buffer, 
-                  size_t length);
+    void Answer(const void* buffer, 
+                size_t length);
 
-    void SendBody(const std::string& str);
+    void Answer(const std::string& str);
 
-    void SendEmptyBody();
+    void AnswerEmpty();
 
     void SendMethodNotAllowed(const std::string& allowed);