Differences From Artifact [9575ac8a9b]:
- File
src/OFHTTPRequest.h
— part of check-in
[c64d88f50f]
at
2011-02-24 18:27:59
on branch trunk
— Make it possible to specify a TLS socket class for OFHTTPRequest.
This way, OFHTTPRequest will support HTTPS using a third party TLS
library. (user: js, size: 3627) [annotate] [blame] [check-ins using]
To Artifact [15378426fb]:
- File src/OFHTTPRequest.h — part of check-in [53213f1d41] at 2011-02-27 00:35:35 on branch trunk — Rename -[result] to -[perform] in OFHTTPRequest. (user: js, size: 3629) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
100 101 102 103 104 105 106 | - (OFDictionary*)headers; /** * Performs the HTTP request and returns an OFHTTPRequestResult. * * \return An OFHTTPRequestResult with the result of the HTTP request */ | | | | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
- (OFDictionary*)headers;
/**
* Performs the HTTP request and returns an OFHTTPRequestResult.
*
* \return An OFHTTPRequestResult with the result of the HTTP request
*/
- (OFHTTPRequestResult*)perform;
/**
* Performs the HTTP request and returns an OFHTTPRequestResult.
*
* \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 OFHTTPRequest
* \return An OFHTTPRequestResult with the result of the HTTP request
*/
- (OFHTTPRequestResult*)performWithRedirects: (size_t)redirects;
@end
/**
* \brief A class for storing the result of an HTTP request.
*/
@interface OFHTTPRequestResult: OFObject
{
|
| ︙ | ︙ |