diff --git a/index.d.ts b/index.d.ts index cbb20145..930e5a0e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -48,7 +48,7 @@ export type RecognizedString = string | ArrayBuffer | Uint8Array | Int8Array | U * Read more about this in the user manual. */ export interface WebSocket { - /** Sends a message. Returns 1 for success, 2 for dropped due to backpressure limit, and 0 for built up backpressure that will drain over time. You can check backpressure before or after sending by calling getBufferedAmount(). + /** Sends a message. Returns 1 for success, 2 for dropped due to backpressure limit, and 0 for built up backpressure that will drain over time. You can check backpressure before or after sending by calling getBufferedAmount(). * * Make sure you properly understand the concept of backpressure. Check the backpressure example file. */ @@ -252,6 +252,7 @@ export interface AppOptions { ca_file_name?: RecognizedString; passphrase?: RecognizedString; dh_params_file_name?: RecognizedString; + ssl_ciphers?: RecognizedString; /** This translates to SSL_MODE_RELEASE_BUFFERS */ ssl_prefer_low_memory_usage?: boolean; } @@ -366,4 +367,4 @@ export var DEDICATED_DECOMPRESSOR_1KB: CompressOptions; /** Sliding dedicated decompress window, requires 512B of memory per socket (plus about 23KB) */ export var DEDICATED_DECOMPRESSOR_512B: CompressOptions; /** Sliding dedicated decompress window, requires 32KB of memory per socket (plus about 23KB) */ -export var DEDICATED_DECOMPRESSOR: CompressOptions; \ No newline at end of file +export var DEDICATED_DECOMPRESSOR: CompressOptions; diff --git a/source_commit b/source_commit index 06a0b0b9..17b2ce3c 100644 --- a/source_commit +++ b/source_commit @@ -1 +1 @@ -c35f534663fa14b5a0a4ba9beb57a63b9ae1a5a9 +d5bccb540241661e07ffecaea210039b2d7caca3 diff --git a/uws_linux_x64_108.node b/uws_linux_x64_108.node index 5f5e71f2..c077908c 100644 Binary files a/uws_linux_x64_108.node and b/uws_linux_x64_108.node differ diff --git a/uws_linux_x64_83.node b/uws_linux_x64_83.node index 1d358254..c077908c 100644 Binary files a/uws_linux_x64_83.node and b/uws_linux_x64_83.node differ diff --git a/uws_linux_x64_93.node b/uws_linux_x64_93.node index 14b3d087..c077908c 100644 Binary files a/uws_linux_x64_93.node and b/uws_linux_x64_93.node differ