THttpServerContext.SetItem<T> Method
Stores a value in the context keyed by its type T, replacing any existing value for that type.
Syntax
Unit: Sparkle.HttpServer.Context
procedure THttpServerContext.SetItem(const Value: T);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Value | T | The value to store. |
Type Parameters
| Type Parameter | Description |
|---|---|
| T | The type used as the key for the stored value. |