>
Defined in Type: HttpService
Namespace: ReactiveMarbles.CacheDatabase.Core
Assembly: ReactiveMarbles.CacheDatabase.Core.dll
Applies to
netstandard2.0
protected virtual IObservable<HttpResponseMessage> MakeWebRequest(Uri uri, HttpMethod method, IEnumerable<KeyValuePair<string, string>>? headers = null, string? content = null, int retries = 3, TimeSpan? timeout = null)
Summary: Makes a web request.
Parameters
| Name | Type | Description |
|---|---|---|
uri | Uri | The URI. |
method | HttpMethod | The type of method. |
headers = null | IEnumerable | The headers. |
content = null | string? | The contents. |
retries = 3 | int | The number of retries. |
timeout = null | TimeSpan? | A timeout time span. |
Returns: IObservable