- addHeadervoid addHeader(string key, string value) 
- void addHeader(string key, Duration dur) 
- void addHeader(string key, SysTime time) 
- Add a http header.
You can't set content-length, status or transfer-encoding headers. They are managed by serverino internally. 
- opAssignvoid opAssign(bool v) 
- Mute/unmute output. If false, serverino will not send any data to user. 
- opOpAssignvoid opOpAssign(T data) 
- Syntax sugar. Easier way to write output. 
- sendDatavoid sendData(string data) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- sendDatavoid sendData(void[] data) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- serveFilebool serveFile(string path, bool guessMime) 
- You can reply with a file. Automagical mime-type detection. 
- setCookievoid setCookie(Cookie c) 
- Add or edit a cookie.
To delete a cookie, use cookie.invalidate() and then setCookie(cookie) 
- setTimeoutvoid setTimeout(Duration max) 
- Override timeout for this request 
- writevoid write(string data) 
- void write(void[] data) 
- Write data to output. You can write as many times as you want. 
A response to user. Default content-type is "text/html".