@@ -56,15 +56,15 @@ * * This is useful for example if you want to update a status display. * * \param request The OFHTTPRequest which received data * \param data The data the OFHTTPRequest received - * \param len The length of the data received, in bytes + * \param length The length of the data received, in bytes */ - (void)request: (OFHTTPRequest*)request didReceiveData: (const char*)data - withLength: (size_t)len; + withLength: (size_t)length; /** * This callback is called when the OFHTTPRequest will follow a redirect. * * If you want to get the headers and data for each redirect, set the number of @@ -75,15 +75,15 @@ * This callback will only be called if the OFHTTPRequest will follow a * redirect. If the maximum number of redirects has been reached already, this * callback will not be called. * * \param request The OFHTTPRequest which will follow a redirect - * \param url The URL to which it will follow a redirect + * \param URL The URL to which it will follow a redirect * \return A boolean whether the OFHTTPRequest should follow the redirect */ - (BOOL)request: (OFHTTPRequest*)request - willFollowRedirectTo: (OFURL*)url; + willFollowRedirectTo: (OFURL*)URL; @end /** * \brief A class for storing and performing HTTP requests. */ @@ -112,53 +112,53 @@ * \return A new, autoreleased OFHTTPRequest */ + request; /** - * \param url The URL for the request + * \param URL The URL for the request * \return A new, autoreleased OFHTTPRequest */ -+ requestWithURL: (OFURL*)url; ++ requestWithURL: (OFURL*)URL; /** * Initializes an already allocated OFHTTPRequest with the specified URL. * - * \param url The URL for the request + * \param URL The URL for the request * \return An initialized OFHTTPRequest */ -- initWithURL: (OFURL*)url; +- initWithURL: (OFURL*)URL; /** * Sets the URL for the HTTP request. * * \param URL The URL for the HTTP request */ -- (void)setURL: (OFURL*)url; +- (void)setURL: (OFURL*)URL; /** * \return The URL for the HTTP request */ - (OFURL*)URL; /** * Sets the request type for the HTTP request. * - * \param type The request type for the HTTP request + * \param requestType The request type for the HTTP request */ -- (void)setRequestType: (of_http_request_type_t)type; +- (void)setRequestType: (of_http_request_type_t)requestType; /** * \return The request type for the HTTP request */ - (of_http_request_type_t)requestType; /** * Sets the query string for the HTTP request. * - * \param qs The query string for the HTTP request + * \param queryString The query string for the HTTP request */ -- (void)setQueryString: (OFString*)qs; +- (void)setQueryString: (OFString*)queryString; /** * \return The query string for the HTTP request */ - (OFString*)queryString; @@ -203,13 +203,13 @@ * Sets whether an OFDataArray with the data is created. * * Setting this to NO is only useful if you are using the delegate to handle the * data. * - * \param enabled Whether to store the data in an OFDataArray + * \param storesData Whether to store the data in an OFDataArray */ -- (void)setStoresData: (BOOL)enabled; +- (void)setStoresData: (BOOL)storesData; /** * \return Whether an OFDataArray with the data is created */ - (BOOL)storesData;