次の方法で共有


IFPCHTTPCompressionConfiguration::WebListeners property

Applies to: desktop apps only

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.

This property is read-only.

Syntax

HRESULT get_WebListeners(
  IFPCRefs **ppWebListeners
);
' Data type: FPCRefs

Property WebListeners( _
  ByVal ppWebListeners As IFPCRefs _
) 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.

Error codes

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

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCHTTPCompressionConfiguration

 

 

Build date: 7/12/2010