Differences From Artifact [f4b177457f]:
- File src/OFHTTPClient.h — part of check-in [163a4a5a2e] at 2020-10-03 11:35:41 on branch trunk — Use /** */ instead of /*! */ for documentation (user: js, size: 7557) [annotate] [blame] [check-ins using] [more...]
To Artifact [428c441451]:
- File
src/OFHTTPClient.h
— part of check-in
[7f102e8c95]
at
2020-10-31 19:16:46
on branch trunk
— OFHTTPClient: Remove didFailWithException
Instead, add an exception to didPerformRequest, to make it more
consistent with other places. (user: js, size: 7252) [annotate] [blame] [check-ins using] [more...]
︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - + + - - + + - - - - - - - - - - - | */ @protocol OFHTTPClientDelegate <OFObject> /** * @brief A callback which is called when an OFHTTPClient performed a request. * * @param client The OFHTTPClient which performed the request * @param request The request the OFHTTPClient performed |
︙ | |||
97 98 99 100 101 102 103 | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | - + | * @param headers The headers received * @param statusCode The status code received * @param request The request for which the headers and status code have been * received */ - (void)client: (OFHTTPClient *)client didReceiveHeaders: (OFDictionary OF_GENERIC(OFString *, OFString *) *)headers |
︙ | |||
126 127 128 129 130 131 132 | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | - + | * (e.g. to set the cookies for the new URL), however, keep in * mind that this will change the request you originally passed. * @param response The response indicating the redirect * @return A boolean whether the OFHTTPClient should follow the redirect */ - (bool)client: (OFHTTPClient *)client shouldFollowRedirect: (OFURL *)URL |
︙ |