This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
ModUrl.cpp
00001 #include "ModUrl.h" 00002 #include "HttpdConnection.h" 00003 00004 namespace MiMic 00005 { 00006 ModUrl::ModUrl() 00007 { 00008 } 00009 ModUrl::~ModUrl() 00010 { 00011 } 00012 bool ModUrl::execute(HttpdConnection& i_connection,char* o_url_buf,int i_buf_len,int* o_method_type) 00013 { 00014 NyLPC_TcModUrl_t mod; 00015 if(i_buf_len<1){ 00016 return false; 00017 } 00018 NyLPC_cModUrl_initialize(&mod); 00019 if(!NyLPC_cModUrl_execute(&mod,i_connection._ref_inst,o_url_buf,i_buf_len)){ 00020 *o_url_buf='\0'; 00021 } 00022 if(o_method_type!=NULL){ 00023 *o_method_type=NyLPC_cModUrl_getMethod(&mod); 00024 } 00025 NyLPC_cModUrl_finalize(&mod); 00026 return true; 00027 } 00028 00029 }
Generated on Tue Jul 12 2022 15:46:15 by 1.7.2