mirror of
https://github.com/lxsang/ant-http
synced 2025-10-13 05:56:24 +02:00
major change for plugin handle
This commit is contained in:
@@ -29,4 +29,15 @@ void get(int client,const char* method,dictionary rq)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
void handler(int client, const char* method, const char* rqpth, dictionary rq)
|
||||
{
|
||||
if(EQU(rqpth,"default"))
|
||||
{
|
||||
execute(client,method,rq);
|
||||
}
|
||||
else
|
||||
{
|
||||
unknow(client);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user