IResponseEnableCompression Method |
Switches compression of the response, but only if the request indicates that the server supports a
compression encoding that we can support.
Namespace: VirtualRadar.Interface.WebServerAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxvoid EnableCompression(
IRequest request
)
Sub EnableCompression (
request As IRequest
)
void EnableCompression(
IRequest^ request
)
abstract EnableCompression :
request : IRequest -> unit
Parameters
- request
- Type: VirtualRadar.Interface.WebServerIRequest
RemarksIf this is called after the first request for
OutputStream then an exception
is thrown. If this is called then ResponseComplete must be called, after which it is
illegal to write anything else to the OutputStream.
See Also