interface.(h|cc)をpost用のinterfaceに

This commit is contained in:
keita
2021-02-17 10:36:29 +09:00
parent 3863349826
commit a4df859af9
4 changed files with 15 additions and 15 deletions
@@ -0,0 +1,9 @@
#include <cocoatweet/api/interface/postInterface.h>
namespace CocoaTweet::API::Interface {
size_t postInterface::curlCallback_(char* _ptr, size_t _size, size_t _nmemb, std::string* _stream) {
int realsize = _size * _nmemb;
_stream->append(_ptr, realsize);
return realsize;
}
} // namespace CocoaTweet::API