18 #ifndef OF_HAVE_SOCKETS 19 # error No sockets available! 22 OF_ASSUME_NONNULL_BEGIN
51 exception: (nullable
id)exception;
94 wantsRequestBody: (
OFStream *)requestBody
108 statusCode: (
short)statusCode
136 shouldFollowRedirectToIRI: (
OFIRI *)IRI
137 statusCode: (
short)statusCode
147 OF_SUBCLASSING_RESTRICTED
150 #ifdef OF_HTTP_CLIENT_M 154 bool _allowsInsecureRedirects, _inProgress;
156 OFIRI *_Nullable _lastIRI;
164 @property OF_NULLABLE_PROPERTY (assign, nonatomic)
170 @property (nonatomic)
bool allowsInsecureRedirects;
177 + (instancetype)client;
215 redirects: (
unsigned int)redirects;
235 redirects: (
unsigned int)redirects;
243 OF_ASSUME_NONNULL_END
A class for performing HTTP requests.
Definition: OFHTTPClient.h:148
The root class for all other classes inside ObjFW.
Definition: OFObject.h:686
A class that provides Transport Layer Security on top of a stream.
Definition: OFTLSStream.h:72
A class for representing an HTTP request response as a stream.
Definition: OFHTTPResponse.h:32
A base class for different types of streams.
Definition: OFStream.h:186
A class for handling strings.
Definition: OFString.h:134
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:78
A class which provides methods to create and use TCP sockets.
Definition: OFTCPSocket.h:66
A class for storing HTTP requests.
Definition: OFHTTPRequest.h:69
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition: OFIRI.h:35
A delegate for OFHTTPClient.
Definition: OFHTTPClient.h:31