Table of Contents

Class HttpResponseHeadersExtensions

Namespace
TypedRest.Http
Assembly
TypedRest.Reactive.dll

Provides extension methods for HttpResponseHeaders.

public static class HttpResponseHeadersExtensions
Inheritance
HttpResponseHeadersExtensions
Inherited Members

Methods

RetryAfterDuration(HttpResponseHeaders)

Returns the relative waiting time extracted from the Retry-After header if any.

public static TimeSpan? RetryAfterDuration(this HttpResponseHeaders headers)

Parameters

headers HttpResponseHeaders

Returns

TimeSpan?