HttppRequest constructor
HttppRequest({
- required HttppVerb verb,
- required Uri uri,
- HttppHeaders? headers,
- HttppBody? body,
- void onSuccess()?,
- void onResult()?,
- void onError()?,
- Duration? timeout,
Implementation
HttppRequest(
{required HttppVerb verb,
required Uri uri,
this.headers,
this.body,
this.onSuccess,
this.onResult,
this.onError,
Duration? timeout})
: this._verb = verb,
this._uri = uri,
this._timeout = timeout;