websSetRequestDocFd | GoAhead WebServer API | GoAhead EMF
## Synopsis Return the document file handle for the current web page. ## Prototype
     #include "webs.h"

     int websSetRequestDocFd(webs_t wp, int fd);
## Parameters
wp | Web server connection handle.
fd | File handle to define.
## Description The websSetRequestDocFd procedure defines a file handle from which to read the web page for this browser connection. ## Return Value Returns -1 if there is no document handle defined, otherwise the handle is returned. ## Example
    fd = open("filename", mode, perm);
    websSetRequestDocFd(wp, fd);
## Stability Classification Stable. ## See Also websGetRequestBytes, websGetRequestDocFd, websSetRequestPath