Home
last modified time | relevance | path

Searched refs:napi_env (Results 1 – 4 of 4) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dunit.h14 static napi_value init(napi_env env, napi_value exports);
17 Unit(napi_env env, napi_value jsthis);
20 static napi_value create(napi_env env, napi_callback_info info);
21 static void destroy(napi_env env, void *nativeObject, void *finalize_hint);
27 static napi_value create_server(napi_env env, napi_callback_info info);
28 static napi_value listen(napi_env env, napi_callback_info info);
29 static napi_value _read(napi_env env, napi_callback_info info);
64 static napi_value request_read(napi_env env, napi_callback_info info);
66 static napi_value response_send_headers(napi_env env,
70 static napi_value response_end(napi_env env, napi_callback_info info);
[all …]
H A Daddon.cpp10 Init(napi_env env, napi_value exports) in Init()
H A Dunit.cpp150 Unit::Unit(napi_env env, napi_value jsthis): in Unit()
168 Unit::init(napi_env env, napi_value exports) in init()
214 Unit::create(napi_env env, napi_callback_info info) in create()
247 Unit::create_server(napi_env env, napi_callback_info info) in create_server()
295 Unit::listen(napi_env env, napi_callback_info info) in listen()
741 Unit::request_read(napi_env env, napi_callback_info info) in request_read()
929 Unit::response_write(napi_env env, napi_callback_info info) in response_write()
1008 Unit::response_end(napi_env env, napi_callback_info info) in response_end()
1138 Unit::conn_destroy(napi_env env, void *r, void *finalize_hint) in conn_destroy()
1145 Unit::sock_destroy(napi_env env, void *r, void *finalize_hint) in sock_destroy()
[all …]
H A Dnxt_napi.h41 nxt_napi(napi_env env) : env_(env) { } in nxt_napi()
733 operator napi_env() in napi_env() function
739 napi_env env() in env()
745 napi_env env_;
750 nxt_handle_scope(napi_env env) : nxt_napi(env) in nxt_handle_scope()
776 nxt_async_context(napi_env env, const char *name) : in nxt_async_context()