HTTP_STATE_INFO structure
The HTTP_STATE_INFO structure is used to enable or disable a Server Session or URL Group.
This structure must be used when setting or querying the HttpServerStateProperty on a URL Group or Server Session.
Syntax
typedef struct { HTTP_PROPERTY_FLAGS Flags; HTTP_ENABLED_STATE State; } HTTP_STATE_INFO, *PHTTP_STATE_INFO;
Members
- Flags
-
The HTTP_PROPERTY_FLAGS structure specifying whether the property is present.
- State
-
A member of the HTTP_ENABLED_STATE enumeration specifying the whether the configuration object is enabled or disabled.
This can be used to disable a URL Group or Server Session.
Remarks
When the HttpServerStateProperty is set on a server session or a URL group, the HTTP_STATE_INFO structure must be used. Server Sessions, and URL Groups represent a configuration for a part of the namespace where inheritance is involved. When traversing the namespace for a request, the HTTP Server API may encounter multiple applicable URL Groups. The property configuration structures must carry information identifying if it is present in a specific URL group.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also
- HTTP Server API Version 2.0 Structures
- HttpSetServerSessionProperty
- HttpQueryServerSessionProperty
- HttpSetUrlGroupProperty
- HttpQueryUrlGroupProperty
- HttpSetRequestQueueProperty
- HttpQueryRequestQueueProperty
- HTTP_SERVER_PROPERTY