Responding to HTTP requests is just as simple as listening for them, simply call the various send()
methods on the OutgoingResponse
object:
The Compute library provides various versions of send
that allow you to pass JSON data, Encodable's, HTML, XML and raw bytes / streams of data.