Message.setStatus

Sets @msg's status code to @status_code. If @status_code is a known value, it will also set @msg's reason_phrase.

class Message
void
setStatus
()

Parameters

statusCode uint

an HTTP status code

Meta