HTTPServerResponse.writeBody

Writes the entire response body at once.

Parameters

data ubyte[]

The data to write as the body contents

status int

Optional response status code to set

See Also

HTTPStatusCode

Meta