16 #import "OFException.h"
18 #ifndef OF_HAVE_SOCKETS
19 # error No sockets available!
22 OF_ASSUME_NONNULL_BEGIN
58 + (instancetype)exceptionWithRequest: (
OFHTTPRequest *)request
61 + (instancetype)exception OF_UNAVAILABLE;
72 OF_DESIGNATED_INITIALIZER;
74 - (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition: OFException.h:151
An exception indicating that an HTTP request failed.
Definition: OFHTTPRequestFailedException.h:35
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