Internet Direct (Indy)
Home
PreviousUpNext
TIdServerCompressionIntercept.Accept Method

Creates a compression intercept for client connections to a server.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.