@@ -34,13 +34,11 @@ * @protocol OFHTTPClientDelegate OFHTTPClient.h ObjFW/OFHTTPClient.h * * @brief A delegate for OFHTTPClient. */ @protocol OFHTTPClientDelegate -#ifdef OF_HAVE_OPTIONAL_PROTOCOLS @optional -#endif /*! * @brief A callback which is called when an OFHTTPClient creates a socket. * * This is useful if the connection is using HTTPS and the server requires a * client certificate. This callback can then be used to tell the TLS socket @@ -149,9 +147,6 @@ * @brief Closes connections that are still open due to keep-alive. */ - (void)close; @end -@interface OFObject (OFHTTPClientDelegate) -@end - OF_ASSUME_NONNULL_END