IsolateHttp constructor

IsolateHttp({
  1. Duration? timeout,
  2. String? debugLabel,
})

Create an IsolateHttp

timeout time limit for an request. If this request does not complete before timeout has passed, Its returns you an IsolateHttpResponse with status code 408 (Request Timeout).

debugLabel this name in debuggers and logging for IsolateHttp.

Implementation

IsolateHttp({Duration? timeout, String? debugLabel})
    : _timeout = timeout,
      _debugLabel = debugLabel;