enclose-io/compiler

View on GitHub
lts/src/node_http_parser_llhttp.cc

Summary

Maintainability
Test Coverage
#define NODE_EXPERIMENTAL_HTTP 1

#include "node_http_parser_impl.h"
#include "memory_tracker-inl.h"
#include "node_metadata.h"
#include "util-inl.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)