vibe.d beta banner
get vibe.d
0.7.30

Function enforceHTTP

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

Prototype

T enforceHTTP(T)(
  T condition,
  HTTPStatus statusCode,
  lazy string message = null,
  string file = __FILE__,
  typeof(155) line = __LINE__
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License