enforceHTTP

Utility function that throws a HTTPStatusException if the _condition is not met.

T
enforceHTTP
(
T
)
(,
HTTPStatus statusCode
,
lazy string message = null
,
string file = __FILE__
,
typeof(__LINE__) line = __LINE__
)

Meta