Wrap idleTimeout
This commit is contained in:
parent
8da1edc516
commit
f2a5d95726
2 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,9 @@ void uWS_App_ws(const FunctionCallbackInfo<Value> &args) {
|
|||
/* maxPayloadLength */
|
||||
behavior.maxPayloadLength = behaviorObject->Get(String::NewFromUtf8(isolate, "maxPayloadLength"))->Int32Value();
|
||||
|
||||
/* idleTimeout */
|
||||
behavior.idleTimeout = behaviorObject->Get(String::NewFromUtf8(isolate, "idleTimeout"))->Int32Value();
|
||||
|
||||
/* Compression, map from 0, 1, 2 to disabled, shared, dedicated */
|
||||
int compression = behaviorObject->Get(String::NewFromUtf8(isolate, "compression"))->Int32Value();
|
||||
if (compression == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue