From fe1862511da4a6d66e2f11ba633c035c3cf7b14f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 8 Oct 2007 04:11:56 +0000 Subject: Added some helpers and fixes to Bu::Client, also got all the basics of a general Http handler working, the test for the moment, is Doxysrv, I'll probably write a cute little stand-alone one in libbu++ later as a demo/test. --- src/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 19d2778..ee301e9 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -103,6 +103,11 @@ bool Bu::Client::isOpen() return pSocket->isOpen(); } +void Bu::Client::write( const Bu::FString &sData ) +{ + sWriteBuf += sData; +} + void Bu::Client::write( const void *pData, int nBytes ) { sWriteBuf.append( (const char *)pData, nBytes ); -- cgit v1.2.3