Client constructor

const Client(
  1. Handler _handler, {
  2. PayloadCodec codec = const PayloadCodec(),
})

Implementation

const Client(this._handler, {PayloadCodec codec = const PayloadCodec()})
    : _codec = codec;