AckHttpClientSender constructor

AckHttpClientSender({
  1. Client? client,
  2. Duration? timeout,
})

Implementation

AckHttpClientSender({http.Client? client, Duration? timeout})
    : _client = client ?? http.Client(),
      _timeout = timeout ?? const Duration(seconds: 30);