Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
OAuth4Tw.h
00001 #ifndef MBED_OAUTH4TW_H 00002 #define MBED_OAUTH4TW_H 00003 00004 #include "mbed.h" 00005 #include "oauth.h" 00006 00007 class OAuth4Tw { 00008 public: 00009 OAuth4Tw(const char *c_key, const char *c_secret, 00010 const char *t_key, const char *t_secret); 00011 00012 static std::string url_escape(const char *str); 00013 00014 std::string post(const char *uri, std::string postarg); 00015 00016 private: 00017 const char *consumer_key; 00018 const char *consumer_secret; 00019 const char *token_key; 00020 const char *token_secret; 00021 }; 00022 00023 #endif
Generated on Wed Jul 20 2022 04:19:30 by
1.7.2