diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
commit | f5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch) | |
tree | 4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/httpget.h | |
parent | 10c557562e1d67c55314c212371ea9cb7f802863 (diff) | |
download | libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2 libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip |
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
Diffstat (limited to 'src/httpget.h')
-rw-r--r-- | src/httpget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/httpget.h b/src/httpget.h index 783f880..58982c0 100644 --- a/src/httpget.h +++ b/src/httpget.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #define BU_HTTP_GET_H | 9 | #define BU_HTTP_GET_H |
10 | 10 | ||
11 | #include "bu/stream.h" | 11 | #include "bu/stream.h" |
12 | #include "bu/fstring.h" | 12 | #include "bu/string.h" |
13 | #include "bu/url.h" | 13 | #include "bu/url.h" |
14 | #include "bu/tcpsocket.h" | 14 | #include "bu/tcpsocket.h" |
15 | #include "bu/hash.h" | 15 | #include "bu/hash.h" |
@@ -19,7 +19,7 @@ namespace Bu | |||
19 | class HttpGet : public Bu::Stream | 19 | class HttpGet : public Bu::Stream |
20 | { | 20 | { |
21 | public: | 21 | public: |
22 | HttpGet( const Bu::Url &uSrc, const Bu::FString &sMethod="GET" ); | 22 | HttpGet( const Bu::Url &uSrc, const Bu::String &sMethod="GET" ); |
23 | virtual ~HttpGet(); | 23 | virtual ~HttpGet(); |
24 | 24 | ||
25 | void get(); | 25 | void get(); |
@@ -51,9 +51,9 @@ namespace Bu | |||
51 | 51 | ||
52 | private: | 52 | private: |
53 | Bu::Url uSrc; | 53 | Bu::Url uSrc; |
54 | Bu::FString sMethod; | 54 | Bu::String sMethod; |
55 | Bu::TcpSocket sSrv; | 55 | Bu::TcpSocket sSrv; |
56 | typedef Bu::Hash<Bu::FString,Bu::FString> MimeHash; | 56 | typedef Bu::Hash<Bu::String,Bu::String> MimeHash; |
57 | MimeHash hMimeIn; | 57 | MimeHash hMimeIn; |
58 | MimeHash hMimeOut; | 58 | MimeHash hMimeOut; |
59 | }; | 59 | }; |