Output.opAssign - multiple declarations

Function Output.opAssign

Mute/unmute output. If false, serverino will not send any data to user.

void opAssign (
  in const(bool) v
);
output = false; // Mute the output.
output ~= "Hello world"; // Serverino will not send this to user.

Function Output.opAssign

Clear the output buffer.

{null} opAssign();
output ~= "<html><body>Hello world</body></html>"; // Output is a simple webpage
output = null; // Now output is null