ServerApi
class ServerApi (View source)
The default system api used to interact with the browser.
Methods
bool
isHeadersSent()
Tells if the headers have been sent and no more headers can be provided.
void
sendHeaderLine(string $line)
Adds a header line to be sent to the browser.
void
output(string $output)
Outputs the given string to the browser.
bool
isConnectionAborted()
Tells if the connection to the user have been terminated and no more output can be sent.
Details
at line 17
bool
isHeadersSent()
Tells if the headers have been sent and no more headers can be provided.
at line 27
void
sendHeaderLine(string $line)
Adds a header line to be sent to the browser.
at line 36
void
output(string $output)
Outputs the given string to the browser.
at line 45
bool
isConnectionAborted()
Tells if the connection to the user have been terminated and no more output can be sent.