22 #ifndef OF_HAVE_SOCKETS 23 # error No sockets available! 26 OF_ASSUME_NONNULL_BEGIN
61 + (instancetype)exceptionWithRequest: (
OFHTTPRequest *)request
64 + (instancetype)exception OF_UNAVAILABLE;
75 OF_DESIGNATED_INITIALIZER;
77 - (instancetype)init OF_UNAVAILABLE;
A class for representing an HTTP request response as a stream.
Definition: OFHTTPResponse.h:36
A class for storing HTTP requests.
Definition: OFHTTPRequest.h:73
The base class for all exceptions in ObjFW.
Definition: OFException.h:156
An exception indicating that an HTTP request failed.
Definition: OFHTTPRequestFailedException.h:37