aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-10-08 04:11:56 +0000
committerMike Buland <eichlan@xagasoft.com>2007-10-08 04:11:56 +0000
commitfe1862511da4a6d66e2f11ba633c035c3cf7b14f (patch)
tree5b7b4d863c0b26390ae7f786b23485341c0ebd50 /src/client.cpp
parentd8ba63fd2b512297b42b8b7db877205ab287e067 (diff)
downloadlibbu++-fe1862511da4a6d66e2f11ba633c035c3cf7b14f.tar.gz
libbu++-fe1862511da4a6d66e2f11ba633c035c3cf7b14f.tar.bz2
libbu++-fe1862511da4a6d66e2f11ba633c035c3cf7b14f.tar.xz
libbu++-fe1862511da4a6d66e2f11ba633c035c3cf7b14f.zip
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.
Diffstat (limited to '')
-rw-r--r--src/client.cpp5
1 files changed, 5 insertions, 0 deletions
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()
103 return pSocket->isOpen(); 103 return pSocket->isOpen();
104} 104}
105 105
106void Bu::Client::write( const Bu::FString &sData )
107{
108 sWriteBuf += sData;
109}
110
106void Bu::Client::write( const void *pData, int nBytes ) 111void Bu::Client::write( const void *pData, int nBytes )
107{ 112{
108 sWriteBuf.append( (const char *)pData, nBytes ); 113 sWriteBuf.append( (const char *)pData, nBytes );