websSetRequestLpath GoAhead WebServer API GoAhead EMF

Synopsis

Define the local pathname to retrieve the web document for the current browser request.

Prototype

 #include "webs.h" 

 void websSetRequestLpath(webs_t wp, char_t *path); 

Parameters

wp Web server connection handle.
path Local file path name for this request.

Description

The websSetRequestLpath procedure defines the local path for the current request. The local path is normally a combination of the request directory and the request path and is created by the default URL handler.

Return Value

None

Example

 
fmtAlloc(path, "/mydir/%s", websGetRequestPath(wp)); 
websSetRequestLpath(wp, path); 

Stability Classification

Stable.

See Also

websGetRequestDir, websGetRequestPath, websGetRequestLpath, websSetRequestPath