Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions isHttp1Reason

1
2
3
4
5
module juptune.http.v1;

bool isHttp1Reason(
    const const char[] value
);

Documentation

Checks if a string is a valid HTTP status line reason as defined by RFC 9110.

Not the most useful function for user code, but there's no reason to not have it be public.

Notes

An empty string is not considered a valid value.

Params

Returns

trueif the value is valid, falseotherwise.