diff options
Diffstat (limited to 'src/node_http_parser_llhttp.cc')
-rw-r--r-- | src/node_http_parser_llhttp.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/node_http_parser_llhttp.cc b/src/node_http_parser_llhttp.cc new file mode 100644 index 00000000000..7b9999d13c7 --- /dev/null +++ b/src/node_http_parser_llhttp.cc @@ -0,0 +1,17 @@ +#define NODE_EXPERIMENTAL_HTTP 1 + +#include "node_http_parser_impl.h" + +namespace node { + +const char* llhttp_version = + NODE_STRINGIFY(LLHTTP_VERSION_MAJOR) + "." + NODE_STRINGIFY(LLHTTP_VERSION_MINOR) + "." + NODE_STRINGIFY(LLHTTP_VERSION_PATCH); + +} // namespace node + +NODE_MODULE_CONTEXT_AWARE_INTERNAL(http_parser_llhttp, + node::InitializeHttpParser) |