Table of Contents

TSparkleMiddlewareList Class

Holds the middleware components attached to a Sparkle server component, in the order they are applied to the created server modules.

Syntax

Unit: Sparkle.Comp.Server

TSparkleMiddlewareList = class(TObject);

Constructors

Name Description
Create Creates a new, empty list.

Methods

Name Description
Add Appends a middleware to the list.
Clear Removes and destroys all middleware components in the list.
IndexOf Returns the index of a middleware in the list.
Remove Removes a middleware from the list, without destroying it.
SetMiddlewareIndex Moves a middleware to a different position in the list.

Properties

Name Description
Count The number of middleware components in the list.
Items[Index] Provides indexed access to the middleware components in the list.