is_server_error


Description:

public bool is_server_error (uint status_code)

Returns whether or not the given HTTP status code indicates an error on on the server side (i.e. 5xx).

Parameters:

status_code

the HTTP status code

Returns:

true if the status codes indicates a server-side error, otherwise false


Namespace: Catalyst.HttpUtils
Package: catalyst-1