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
10
extern
"C"
{
11
#endif
12
19
bool
http_method_is_valid
(
const
char
* method_str);
20
29
void
http_method_normalize
(
char
* method_str);
30
31
#ifdef __cplusplus
32
}
33
#endif
http_method_is_valid
bool http_method_is_valid(const char *method_str)
Check whether the HTTP method string is valid.
Definition
http_method.c:5
http_method_normalize
void http_method_normalize(char *method_str)
Normalize the method string in-place.
Definition
http_method.c:30
lib
http
http_method.h
Generated by
1.12.0