Topic Path: Symbol Reference > Classes > TIdServerCompressionIntercept Class > TIdServerCompressionIntercept Methods > Accept Method
TIdServerCompressionIntercept.Accept Method

Creates a compression intercept for client connections to a server.

function Accept(
    AConnection: TComponent
): TIdConnectionIntercept; override;

Accept is a TIdConnectionIntercept function that returns an intercept for use with a client connection to a multithreaded server. When a client connection is Accepted by the server, a new TIdCompressionIntercept is created with the client connection as the owner of the object instance. The CompressionLevel for the client intercept is set to the value specified in the property for the server.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.