SynopsisSet the directory and path fields for a request. Prototype#include "webs.h" void websSetRequestPath(webs_t wp, char_t *dir, char_t *path); Parameters
DescriptionThe websSetRequestPath procedure sets the URL directory and path fields which define the location of the web document. Always use "/" delimiters in both the directory and path parameters. Do not use the "\" path specifier even if your native operating system (e.g., Windows) uses this path separator. Return ValueNone ExamplewebsSetRequestPath(wp, "C:/webdir", "/doc/mypage.htm"); Stability ClassificationStable. See Also |