TsgcSSEClient › Properties › URL

URL Property

Address of the event stream the client connects to.

Syntax

property URL: string read FURL write FURL;

Default Value

''

Remarks

Full http:// or https:// address of the text/event-stream resource. The URL is read each time a connection attempt starts, so a change takes effect on the next Open or on the next automatic reconnection.

Example


oSSE.URL := 'https://www.example.com/stream/prices';
oSSE.Open;

Back to Properties