BSB Developer Docs
Loading...
Searching...
No Matches
http_method.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <stdbool.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
19bool http_method_is_valid(const char* method_str);
20
29void http_method_normalize(char* method_str);
30
31#ifdef __cplusplus
32}
33#endif
bool http_method_is_valid(const char *method_str)
Check whether the HTTP method string is valid.
Definition http_method.c:5
void http_method_normalize(char *method_str)
Normalize the method string in-place.
Definition http_method.c:30