Differences From Artifact [daaaeddb63]:
- File
src/OFHTTPClient.h
— part of check-in
[56a18442e2]
at
2017-09-24 00:59:12
on branch trunk
— Make OFHTTPClient asynchronous
This does not make OFHTTPClientResponse completely asynchronous yet.
Since -[initWithURL:] does not work well with an asynchronous API, it no
longer supports HTTP URLs. However, a new, asynchronous API will be
added as a replacement later on. (user: js, size: 5874) [annotate] [blame] [check-ins using]
To Artifact [c2310631fb]:
- File src/OFHTTPClient.h — part of check-in [9f1accca4e] at 2017-09-24 02:11:16 on branch trunk — OFObject: Add -[performSelector*] with 3 objects (user: js, size: 5888) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
127 128 129 130 131 132 133 | * @brief A class for performing HTTP requests. */ @interface OFHTTPClient: OFObject { #ifdef OF_HTTPCLIENT_M @public #endif | | | | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | * @brief A class for performing HTTP requests. */ @interface OFHTTPClient: OFObject { #ifdef OF_HTTPCLIENT_M @public #endif OFObject <OFHTTPClientDelegate> *_delegate; bool _insecureRedirectsAllowed, _inProgress; OFTCPSocket *_socket; OFURL *_lastURL; bool _lastWasHEAD; OFHTTPResponse *_lastResponse; } /*! * The delegate of the HTTP request. */ @property OF_NULLABLE_PROPERTY (assign, nonatomic) OFObject <OFHTTPClientDelegate> *delegate; /*! * Whether redirects from HTTPS to HTTP will be allowed. */ @property (nonatomic) bool insecureRedirectsAllowed; /*! |
︙ | ︙ |