Home
last modified time | relevance | path

Searched refs:set_named_property (Results 1 – 2 of 2) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dunit.cpp182 napi.set_named_property(exports, "Unit", ctor); in init()
188 napi.set_named_property(exports, "websocket_send_frame", in init()
190 napi.set_named_property(exports, "websocket_set_sock", in init()
603 set_named_property(request, "headers", headers); in create_headers()
604 set_named_property(request, "rawHeaders", raw_headers); in create_headers()
660 set_named_property(res, "localAddress", r->local_addr, in create_socket()
715 set_named_property(res, "fin", (bool) ws->header->fin); in create_websocket_frame()
716 set_named_property(res, "opcode", ws->header->opcode); in create_websocket_frame()
723 set_named_property(res, "closeStatus", in create_websocket_frame()
727 set_named_property(res, "closeStatus", -1); in create_websocket_frame()
[all …]
H A Dnxt_napi.h563 set_named_property(napi_value obj, const char *name, napi_value val) in set_named_property() function
575 set_named_property(napi_value obj, const char *name, napi_callback cb) in set_named_property() function
577 set_named_property(obj, name, create_function(cb)); in set_named_property()
582 set_named_property(napi_value obj, const char *name, nxt_unit_sptr_t &val, in set_named_property() function
589 set_named_property(obj, name, str); in set_named_property()
597 set_named_property(napi_value obj, const char *name, T val) in set_named_property() function
599 set_named_property(obj, name, create(val)); in set_named_property()