set_status


Description:

[ Version ( since = "2.36" ) ]
public void set_status (uint status_code, string? reason_phrase)

Sets the status code and reason phrase for the this.

If status_code is a known value and reason_phrase is null, the reason_phrase will be set automatically.

Parameters:

this

a URISchemeResponse

status_code

the HTTP status code to be returned

reason_phrase

a reason phrase