HandlerWrapper constructor
HandlerWrapper(
- Client client, {
- MessageConverter messageConverter = const MessageConverter(),
Creates a new instance of the wrapper. Do not forget to call close()
on
the client
when it's not longer needed.
Use messageConverter
to fine tune the HTTP request/response conversion.
Implementation
HandlerWrapper(this.client,
{this.messageConverter = const MessageConverter()});