Sun Java System Web Server 6.1 SP11 NSAPI Programmer's Guide

request_get_vs

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.

Syntax

const VirtualServer* request_get_vs(Request* rq);

Returns

The VirtualServer* to which the request is directed.

Parameters

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

See Also

vs_get_id