18#ifndef OF_HAVE_SOCKETS
19# error No sockets available!
22OF_ASSUME_NONNULL_BEGIN
51 exception: (nullable
id)exception;
94 wantsRequestBody: (
OFStream *)requestBody
108 statusCode: (
short)statusCode
136 shouldFollowRedirectToIRI: (
OFIRI *)IRI
137 statusCode: (
short)statusCode
147OF_SUBCLASSING_RESTRICTED
150#ifdef OF_HTTP_CLIENT_M
153 OFObject <OFHTTPClientDelegate> *_Nullable _delegate;
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;
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:80
A class for performing HTTP requests.
Definition OFHTTPClient.h:149
A class for storing HTTP requests.
Definition OFHTTPRequest.h:71
A class for representing an HTTP request response as a stream.
Definition OFHTTPResponse.h:33
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition OFIRI.h:37
The root class for all other classes inside ObjFW.
Definition OFObject.h:688
A base class for different types of streams.
Definition OFStream.h:188
A class for handling strings.
Definition OFString.h:135
A class which provides methods to create and use TCP sockets.
Definition OFTCPSocket.h:67
A class that provides Transport Layer Security on top of a stream.
Definition OFTLSStream.h:75