is_client_error


Description:

public bool is_client_error (uint status_code)

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

Parameters:

status_code

the HTTP status code

Returns:

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


Namespace: Catalyst.HttpUtils
Package: catalyst-1