* Transport abstract constructor. * * @param {Object} opts - options * @protected
(opts)
| 58 | * @protected |
| 59 | */ |
| 60 | constructor(opts) { |
| 61 | super(); |
| 62 | installTimerFunctions(this, opts); |
| 63 | |
| 64 | this.opts = opts; |
| 65 | this.query = opts.query; |
| 66 | this.socket = opts.socket; |
| 67 | this.supportsBinary = !opts.forceBase64; |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Emits an error. |
nothing calls this directly
no test coverage detected