WebListeners Property of the IFPCHTTPCompressionConfiguration Interface

The WebListeners property gets an FPCRefs collection that contains references to the FPCWebListener objects defining the Web listeners included in or excluded from the sources for which compressed responses may be sent.

[C++]
HRESULT get_WebListeners(
	IFPCRefs** ppWebListeners
);

Parameters

ppWebListeners

Address of an interface pointer that on return points to an IFPCRefs interface that represents the collection of references to the Web listeners included in or excluded from the sources for which compressed responses may be sent.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]
Property WebListeners As FPCRefs

Property Value

Reference to an FPCRefs collection that contains references to the Web listeners included in or excluded from the sources for which compressed responses may be sent.

Remarks

This property is read-only. References to Web listeners can be added or removed by calling the methods of the FPCRefs collection retrieved (the IFPCRefs interface retrieved in C++).

The IncludeStatus property of each reference specifies whether the Web listener referenced is included in or excluded from the sources for which compressed responses may be sent.

This property is applicable only if the Enabled property is set to True (VARIANT_TRUE in C++).

If HTTP compression is enabled and this property indicates that compressed responses may be sent to a specific client, Forefront TMG will send a compressed response to the client only in response to a request that contains an Accept-Encoding: gzip header.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCHTTPCompressionConfiguration


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.