Merge branch 'master' of https://github.com/uNetworking/uWebSockets.js
This commit is contained in:
commit
999a00d1bc
@ -59,9 +59,10 @@ Being written in native code directly targeting the Linux kernel makes it way fa
|
||||
|
||||
### :package: Install anywhere
|
||||
|
||||
Install with `npm install uNetworking/uWebSockets.js#v18.3.0` or any such release. No compiler needed.
|
||||
Install with `npm install uNetworking/uWebSockets.js#v18.4.0` or any such release. No compiler needed.
|
||||
|
||||
* Runs on Linux (x64, ARM64), macOS (x64) and Windows (x64). Node.js 10, 11, 12, 13 & 14.
|
||||
* Installs from this GitHub repo, not the NPM registry. Production apps should rely on their own local copy.
|
||||
|
||||
### :briefcase: Commercially supported
|
||||
<a href="https://github.com/uNetworking">uNetworking AB</a> is a Swedish consulting & contracting company dealing with anything related to µWebSockets; development, support and customer success.
|
||||
|
@ -152,7 +152,7 @@ struct HttpResponseWrapper {
|
||||
/* This thing perfectly fits in with unique_function, and will Reset on destructor */
|
||||
UniquePersistent<Function> p(isolate, Local<Function>::Cast(args[0]));
|
||||
|
||||
res->onWritable([p = std::move(p), isolate](int offset) -> bool {
|
||||
res->onWritable([p = std::move(p), isolate](size_t offset) -> bool {
|
||||
HandleScope hs(isolate);
|
||||
|
||||
Local<Value> argv[] = {Number::New(isolate, offset)};
|
||||
|
Loading…
Reference in New Issue
Block a user