Skip to content

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)

View source

Summary: Makes a web request.

Parameters

NameTypeDescription
uriUriThe URI.
methodHttpMethodThe type of method.
headers = nullIEnumerable>?The headers.
content = nullstring?The contents.
retries = 3intThe number of retries.
timeout = nullTimeSpan?A timeout time span.

Returns: IObservable -- The web response.