Sign in Join
FPDoc Onlineexperiment

THTTPServerEvent.ToString function

Member of THTTPServerEventpublicIn unit HTTPDefs

Returns string representation of the server event

Declaration

pascal
function ToString: AnsiString

Function result

String representation of the server-sent event

Description

ToString returns the server event formatted according to the Server-Sent Events specification. This includes all relevant fields formatted for transmission to the client.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.