22#ifndef OF_HAVE_SOCKETS
23# error No sockets available!
26OF_ASSUME_NONNULL_BEGIN
75 OF_DESIGNATED_INITIALIZER;
77- (instancetype)
init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
An exception indicating that an HTTP request failed.
Definition OFHTTPRequestFailedException.h:38
OFHTTPRequest * request
The HTTP request which failed.
Definition OFHTTPRequestFailedException.h:47
OFHTTPResponse * response
The response for the failed HTTP request.
Definition OFHTTPRequestFailedException.h:52
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
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696