* Transport abstract constructor. * * @param {Object} opts - options * @protected
(opts)
| 794 | * @protected |
| 795 | */ |
| 796 | function Transport(opts) { |
| 797 | var _this2; |
| 798 | _this2 = _Emitter.call(this) || this; |
| 799 | _this2.writable = false; |
| 800 | installTimerFunctions(_this2, opts); |
| 801 | _this2.opts = opts; |
| 802 | _this2.query = opts.query; |
| 803 | _this2.socket = opts.socket; |
| 804 | _this2.supportsBinary = !opts.forceBase64; |
| 805 | return _this2; |
| 806 | } |
| 807 | /** |
| 808 | * Emits an error. |
| 809 | * |
nothing calls this directly
no test coverage detected