int HttpTransmitFile ( HttpConnection hConn , const char *pFilePath )
hConn | pointer to the connection data |
pFilePath | is the new file path |
i.e.:
int RequestCallback(HttpConnection hConn,int iCommand,const char *pHost,const char *pUrl,const char *pParams,int iUrlLen,int iParamLen) { ... if(IsNotMyUrl(pUrl)) { return 0; } ... return HttpTransmitFile(hConn,"D:\\Http\\index.html"); }
see also:
AzHttp Overview |
HttpDaemon |
HttpStopDaemon |
HttpTransmitCallback |
HttpTransmitGoto |
HttpTransmitMemory