summaryrefslogtreecommitdiff
path: root/src/node_http_parser_llhttp.cc
blob: 423fb5e104bc502795c99568f7701cc1a168ddde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define NODE_EXPERIMENTAL_HTTP 1

#include "node_http_parser_impl.h"
#include "node_metadata.h"

namespace node {

namespace per_process {
const char* const llhttp_version =
    NODE_STRINGIFY(LLHTTP_VERSION_MAJOR)
    "."
    NODE_STRINGIFY(LLHTTP_VERSION_MINOR)
    "."
    NODE_STRINGIFY(LLHTTP_VERSION_PATCH);
}  // namespace per_process
}  // namespace node

NODE_MODULE_CONTEXT_AWARE_INTERNAL(http_parser_llhttp,
                                   node::InitializeHttpParser)