Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

request_get_vs() Function

The request_get_vs function finds the VirtualServer* to which a request is directed.

The returned VirtualServer* is valid only for the current request. To retrieve a virtual server ID that is valid across requests, use vs_get_id().


const VirtualServer* request_get_vs(Request* rq);

Return Values

The VirtualServer* to which the request is directed.


Request *rq is the request for which the VirtualServer* is returned.

See Also

vs_get_id() Function