Returns the int value for a header (e.g. ""). If it does not exist,
0 will be returned.
@param jwt Pointer to a JWT object.
@param header String containing the name of the header to return a value
for.
@return Returns an int for the value. Sets errno to ENOENT when not
found.
Note, this will only return headers with JSON integer values. Use
jwt_get_header_json() to get the JSON representation of more complex
values (e.g. arrays) or use jwt_get_header() to get string values.
Return the value of an integer header.
Returns the int value for a header (e.g. ""). If it does not exist, 0 will be returned.
@param jwt Pointer to a JWT object. @param header String containing the name of the header to return a value for. @return Returns an int for the value. Sets errno to ENOENT when not found.
Note, this will only return headers with JSON integer values. Use jwt_get_header_json() to get the JSON representation of more complex values (e.g. arrays) or use jwt_get_header() to get string values.