This method allow to specify a custom callback pointer.
| 63 | |
| 64 | // This method allow to specify a custom callback pointer. |
| 65 | void set_callback(curlcpp_callback_type callback_ptr) { |
| 66 | _callback_ptr = callback_ptr == nullptr ? write_callback<std::ostringstream> : callback_ptr; |
| 67 | } |
| 68 | |
| 69 | // This method returns the stream pointer. |
| 70 | T *get_stream() const { |