websSetRequestFlags GoAhead WebServer API GoAhead EMF

Synopsis

Return the flags word associated with a browser request

Prototype

#include "webs.h"

void websSetRequestFlags(webs_t wp, int flags);

Parameters

wp Web server connection handle
flags Flags to define

Description

The websSetRequestFlags procedure modifies the flags word for a given browser request. You must be very careful when defining the flags word for a request. If you need to modify a particular flag value, use websGetRequestFlags to retrieve the current flags word and clear or set specific bits.

See websGetRequestFlags for a list of all available flags which are defined in webs.h.

Return Value

None

Example

websSetRequestFlags(wp,
    websGetRequestFlags(wp,  flags) | WEBS_HEADER_DONE));

See Also

websGetRequestFlags