vibe-d v0.9.4 (2021-09-30T12:24:53Z)
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.