Differences From Artifact [f80794c7b1]:
- File src/OFHTTPClient.h — part of check-in [89177dcd09] at 2012-12-20 16:42:52 on branch trunk — Remove dummy implementations for formal protocols. (user: js, size: 5720) [annotate] [blame] [check-ins using]
To Artifact [ab52e94768]:
- File
src/OFHTTPClient.h
— part of check-in
[75f187cef5]
at
2012-12-26 20:55:27
on branch trunk
— OFHTTPRequestResult -> OFHTTPRequestReply.
The class also has its own file now. (user: js, size: 5712) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
14 15 16 17 18 19 20 | * file. */ #import "OFObject.h" @class OFHTTPClient; @class OFHTTPRequest; | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | * file. */ #import "OFObject.h" @class OFHTTPClient; @class OFHTTPRequest; @class OFHTTPRequestReply; @class OFURL; @class OFTCPSocket; @class OFDictionary; @class OFDataArray; /*! * @brief A delegate for OFHTTPClient. |
︙ | ︙ | |||
166 167 168 169 170 171 172 | * @return Whether an OFDataArray with the data should be created */ - (BOOL)storesData; /*! * @brief Performs the specified HTTP request */ | | | | | | | | 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | * @return Whether an OFDataArray with the data should be created */ - (BOOL)storesData; /*! * @brief Performs the specified HTTP request */ - (OFHTTPRequestReply*)performRequest: (OFHTTPRequest*)request; /*! * @brief Performs the HTTP request and returns an OFHTTPRequestReply. * * @param redirects The maximum number of redirects after which no further * attempt is done to follow the redirect, but instead the * redirect is returned as an OFHTTPRequestReply * @return An OFHTTPRequestReply with the reply of the HTTP request */ - (OFHTTPRequestReply*)performRequest: (OFHTTPRequest*)request redirects: (size_t)redirects; @end @interface OFObject (OFHTTPClientDelegate) <OFHTTPClientDelegate> @end |