* Accept an extension negotiation offer/response. * * @param {Array} configurations The extension negotiation offers/reponse * @return {Object} Accepted configuration * @public
(configurations)
| 113 | * @public |
| 114 | */ |
| 115 | accept(configurations) { |
| 116 | configurations = this.normalizeParams(configurations); |
| 117 | |
| 118 | this.params = this._isServer |
| 119 | ? this.acceptAsServer(configurations) |
| 120 | : this.acceptAsClient(configurations); |
| 121 | |
| 122 | return this.params; |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Releases all resources used by the extension. |
no test coverage detected