22#ifndef OF_HAVE_SOCKETS
23# error No sockets available!
26OF_ASSUME_NONNULL_BEGIN
55 exception: (nullable
id)exception;
98 wantsRequestBody: (
OFStream *)requestBody
112 statusCode: (
short)statusCode
140 shouldFollowRedirectToIRI: (
OFIRI *)IRI
141 statusCode: (
short)statusCode
151OF_SUBCLASSING_RESTRICTED
154#ifdef OF_HTTP_CLIENT_M
157 OFObject <OFHTTPClientDelegate> *_Nullable _delegate;
158 bool _allowsInsecureRedirects, _inProgress;
160 OFIRI *_Nullable _lastIRI;
168@property OF_NULLABLE_PROPERTY (assign, nonatomic)
174@property (nonatomic)
bool allowsInsecureRedirects;
181+ (instancetype)client;
219 redirects: (
unsigned int)redirects;
239 redirects: (
unsigned int)redirects;
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:84
A class for performing HTTP requests.
Definition OFHTTPClient.h:153
A class for storing HTTP requests.
Definition OFHTTPRequest.h:75
A class for representing an HTTP request response as a stream.
Definition OFHTTPResponse.h:37
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition OFIRI.h:41
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
A base class for different types of streams.
Definition OFStream.h:280
A class for handling strings.
Definition OFString.h:143
A class which provides methods to create and use TCP sockets.
Definition OFTCPSocket.h:86
A class that provides Transport Layer Security on top of a stream.
Definition OFTLSStream.h:78