HttpHeaderInit
Description
Initialize an empty HttpHeader. Inside a Scope the allocator argument may be omitted (uses MisraScope).
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Http.c:143:
}
HttpHeader hh = HttpHeaderInit(alloc);
StrReadFmt(cursor, "{}: {}\r\n", hh.key, hh.value);
if (cursor == line_start) {
Last updated on