ObjFW  Diff

Differences From Artifact [daaaeddb63]:

To Artifact [c2310631fb]:


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
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
	id <OFHTTPClientDelegate> _delegate;
	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)
    id <OFHTTPClientDelegate> delegate;
    OFObject <OFHTTPClientDelegate> *delegate;

/*!
 * Whether redirects from HTTPS to HTTP will be allowed.
 */
@property (nonatomic) bool insecureRedirectsAllowed;

/*!