export interface IPerMessageDeflateOptions { /** Whether to use context takeover or not. */ serverNoContextTakeover?: boolean | undefined; /** Acknowledge disabling of client context takeover. */ clientNoContextTakeover?: boolean | undefined; /** Must be [8, 15]. Defaults to 15. */ serverMaxWindowBits?: number | undefined; /** @deprecated Must be undefined because of OkHttp and `java.util.zip.Deflater` limitation. Practically defaults to 15. */ clientMaxWindowBits?: number | undefined; /** Payloads smaller than this will not be compressed if context takeover is disabled. Defaults to 1024 bytes. */ threshold?: number | undefined; /** The number of concurrent calls to zlib. Calls above this limit will be queued. Defaults to 10. See also https://github.com/websockets/ws/issues/1202. */ concurrencyLimit?: number | undefined; }