@@ -40,13 +40,13 @@ * * @param server The HTTP server which received the request * @param request The request the HTTP server received * @param response The response the server will send to the client */ -- (void)server: (OFHTTPServer*)server - didReceiveRequest: (OFHTTPRequest*)request - response: (OFHTTPResponse*)response; +- (void)server: (OFHTTPServer *)server + didReceiveRequest: (OFHTTPRequest *)request + response: (OFHTTPResponse *)response; @optional /*! * @brief This method is called when the HTTP server's listening socket * encountered an exception. @@ -56,12 +56,12 @@ * socket * @return Whether to continue listening. If you return false, existing * connections will still be handled and you can start accepting new * connections again by calling @ref OFHTTPServer::start again. */ -- (bool)server: (OFHTTPServer*)server - didReceiveExceptionOnListeningSocket: (OFException*)exception; +- (bool)server: (OFHTTPServer *)server + didReceiveExceptionOnListeningSocket: (OFException *)exception; /*! * @brief This method is called when a client socket encountered an exception. * * This can happen when the OFHTTPServer tries to properly close the @@ -73,14 +73,14 @@ * @param server The HTTP server which encountered an exception * @param response The response for which the exception occurred * @param request The request for the response for which the exception occurred * @param exception The exception which occurred */ -- (void)server: (OFHTTPServer*)server - didReceiveExceptionForResponse: (OFHTTPResponse*)response - request: (OFHTTPRequest*)request - exception: (OFException*)exception; +- (void)server: (OFHTTPServer *)server + didReceiveExceptionForResponse: (OFHTTPResponse *)response + request: (OFHTTPRequest *)request + exception: (OFException *)exception; @end /*! * @class OFHTTPServer OFHTTPServer.h ObjFW/OFHTTPServer.h * @@ -96,11 +96,11 @@ } /*! * The host on which the HTTP server will listen. */ -@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString* host; +@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *host; /*! * The port on which the HTTP server will listen. */ @property uint16_t port;