Differences From Artifact [aa3131b9d1]:
- File
src/OFHTTPClient.m
— 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: 18637) [annotate] [blame] [check-ins using]
To Artifact [d20461a0e1]:
- File src/OFHTTPClient.m — part of check-in [c26c8ca746] at 2017-09-23 20:35:31 on branch trunk — ofhttp: Refactor for asynchronous OFHTTPClient (user: js, size: 18714) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
731 732 733 734 735 736 737 | if (status / 100 != 2) @throw [OFHTTPRequestFailedException exceptionWithRequest: request response: response]; if ([_delegate respondsToSelector: @selector(client:didPerformRequest: | | > > > > > | 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 | if (status / 100 != 2) @throw [OFHTTPRequestFailedException exceptionWithRequest: request response: response]; if ([_delegate respondsToSelector: @selector(client:didPerformRequest: response:)]) { pool = objc_autoreleasePoolPush(); [_delegate client: self didPerformRequest: request response: response]; objc_autoreleasePoolPop(pool); } return response; } - (void)close { [_socket close]; |
︙ | ︙ |