Table of Contents

THttpServerContext.Data[Key] Property

Gets or sets an arbitrary value associated with the given string Key for this context.

Remarks

This is the string-keyed counterpart of the type-keyed Item mechanism. Reading a key that was never set returns TValue.Empty. This is the default array property of the class.

Syntax

Unit: Sparkle.HttpServer.Context

property THttpServerContext.Data[Key]: TValue

See also