URISchemeResponse.setStatus
void setStatus(uint statusCode, string reasonPhrase = null)Sets the status code and reason phrase for the response.
If status_code is a known value and reason_phrase is null, the reason_phrase will be set automatically.
Parameters
statusCode | the HTTP status code to be returned |
reasonPhrase | a reason phrase |