vibe-d ~master (2022-11-16T10:14:41Z)
Home
Dub
Repo
enforceHTTP
index
vibe
http
common
Utility function that throws a HTTPStatusException if the _condition is not met.
T
enforceHTTP
(
T
)
(
T
condition
,
HTTPStatus
statusCode
,
lazy
string
message
= null
,
string
file
= __FILE__
,
typeof
(__LINE__)
line
= __LINE__
)
Meta
Source
See Implementation
index
vibe
http
common
classes
ChunkedInputStream
ChunkedOutputStream
Cookie
HTTPRequest
HTTPResponse
HTTPStatusException
MultiPart
enums
HTTPMethod
HTTPVersion
functions
chunkedInputStream
createChunkedInputStreamFL
createChunkedOutputStream
createChunkedOutputStreamFL
enforceBadRequest
enforceHTTP
getHTTPVersionString
httpMethodFromString
httpMethodString
parseHTTPCookie
parseHTTPVersion
structs
CookieValueMap
Utility function that throws a HTTPStatusException if the _condition is not met.