vibe-http v1.0.0 (2024-02-17T13:45:36Z)
Home
Dub
Repo
enforceHTTP
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
vibe
http
common
classes
ChunkedInputStream
ChunkedOutputStream
Cookie
HTTPRequest
HTTPResponse
HTTPStatusException
MultiPart
enums
HTTPMethod
HTTPVersion
functions
chunkedInputStream
createChunkedInputStreamFL
createChunkedOutputStream
createChunkedOutputStreamFL
createRequestAllocator
enforceBadRequest
enforceHTTP
freeRequestAllocator
getHTTPVersionString
httpMethodFromString
httpMethodString
parseHTTPCookie
parseHTTPVersion
structs
CookieValueMap
Utility function that throws a HTTPStatusException if the condition is not met.