Table of Contents

TSparkleWebSocketMiddleware.AllowedOrigins Property

Gets or sets the list of request origins allowed to open a WebSocket connection.

Remarks

Each item must be a full origin, for example https://www.example.com. When the list is empty (the default) or contains a single * item, WebSocket requests from any origin are accepted. Otherwise, requests whose Origin header is not in the list are answered with a 403 status code.

Syntax

Unit: Sparkle.Comp.WebSocketMiddleware

property TSparkleWebSocketMiddleware.AllowedOrigins: TStrings

See also