Differences From Artifact [45c3b5270f]:
- File src/OFHTTPClient.h — part of check-in [4eab54022e] at 2017-08-14 13:33:31 on branch trunk — Always have assign before nonatomic (user: js, size: 5124) [annotate] [blame] [check-ins using]
To Artifact [b02049e5b7]:
- File
src/OFHTTPClient.h
— part of check-in
[d3d4d34dad]
at
2017-09-23 19:02:10
on branch trunk
— OFHTTPClient: Add request performed callback
This is in preparation for making OFHTTPClient asynchronous. (user: js, size: 5523) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
91 92 93 94 95 96 97 98 99 100 101 102 103 104 | * @return A boolean whether the OFHTTPClient should follow the redirect */ - (bool)client: (OFHTTPClient *)client shouldFollowRedirect: (OFURL *)URL statusCode: (int)statusCode request: (OFHTTPRequest *)request response: (OFHTTPResponse *)response; @end /*! * @class OFHTTPClient OFHTTPClient.h ObjFW/OFHTTPClient.h * * @brief A class for performing HTTP requests. */ | > > > > > > > > > > > | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | * @return A boolean whether the OFHTTPClient should follow the redirect */ - (bool)client: (OFHTTPClient *)client shouldFollowRedirect: (OFURL *)URL statusCode: (int)statusCode request: (OFHTTPRequest *)request response: (OFHTTPResponse *)response; /*! * @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 * @param response The response to the request performed */ - (void)client: (OFHTTPClient *)client didPerformRequest: (OFHTTPRequest *)request response: (OFHTTPResponse *)response; @end /*! * @class OFHTTPClient OFHTTPClient.h ObjFW/OFHTTPClient.h * * @brief A class for performing HTTP requests. */ |
︙ | ︙ |