offer() {
        const params = {
        };
        if (this._options.serverNoContextTakeover) params.server_no_context_takeover = true;
        if (this._options.clientNoContextTakeover) params.client_no_context_takeover = true;
        if (this._options.serverMaxWindowBits) params.server_max_window_bits = this._options.serverMaxWindowBits;
        if (this._options.clientMaxWindowBits) params.client_max_window_bits = this._options.clientMaxWindowBits;
        else if (this._options.clientMaxWindowBits == null) params.client_max_window_bits = true;
        return params;
    }
/**
   * Create an extension negotiation offer.
   *
   * @return {Object} Extension parameters
   * @public
   */
Create an extension negotiation offer.
@return {Object} Extension parameters
@public
Create an extension negotiation offer . @return { Object } Extension parameters @public
offer() {
        const params = {
        };
        if (this._options.serverNoContextTakeover) params.server_no_context_takeover = true;
        if (this._options.clientNoContextTakeover) params.client_no_context_takeover = true;
        if (this._options.serverMaxWindowBits) params.server_max_window_bits = this._options.serverMaxWindowBits;
        if (this._options.clientMaxWindowBits) params.client_max_window_bits = this._options.clientMaxWindowBits;
        else if (this._options.clientMaxWindowBits == null) params.client_max_window_bits = true;
        return params;
    }
offer ( ) { const params = { } ; if ( this . _options . serverNoContextTakeover ) params . server_no_context_takeover = true ; if ( this . _options . clientNoContextTakeover ) params . client_no_context_takeover = true ; if ( this . _options . serverMaxWindowBits ) params . server_max_window_bits = this . _options . serverMaxWindowBits ; if ( this . _options . clientMaxWindowBits ) params . client_max_window_bits = this . _options . clientMaxWindowBits ; else if ( this . _options . clientMaxWindowBits == null ) params . client_max_window_bits = true ; return params ; }
Create an extension negotiation offer.
Create an extension negotiation offer .