HttpResponseOutputStream.writeHeaders

Writes HTTP/1.1 status line and headers to the underlying output stream, which is done before any body content can be written.

struct HttpResponseOutputStream(S)
StreamResult
writeHeaders
()
if (
isByteOutputStream!S
)

Return Value

Type: StreamResult

The stream result of writing.