你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HttpPipeline Class

Definition

public class HttpPipeline : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync
type HttpPipeline = class
    interface ISendAsync
Public Class HttpPipeline
Implements ISendAsync
Inheritance
HttpPipeline
Implements

Constructors

HttpPipeline()
HttpPipeline(ISendAsyncTerminalFactory)

Properties

Count
Pipeline
TerminalFactory

Methods

Append(Func<HttpRequestMessage,CancellationToken,Action,Func<String, CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage, CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>, Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>)
Append(IEnumerable<ISendAsyncFactory>)
Append(IEnumerable<SendAsyncStep>)
Append(ISendAsyncFactory)
Append(SendAsyncStep)
Clone()

Returns an HttpPipeline with the current state of this pipeline.

Prepend(Func<HttpRequestMessage,CancellationToken,Action,Func<String, CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage, CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>, Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>)
Prepend(IEnumerable<ISendAsyncFactory>)
Prepend(IEnumerable<SendAsyncStep>)
Prepend(ISendAsyncFactory)
Prepend(SendAsyncStep)
Retry429(HttpRequestMessage, IEventListener, ISendAsync)

The step to handle 429 response with retry-after header.

RetryError(HttpRequestMessage, IEventListener, ISendAsync)

Returns true if status code in HttpRequestExceptionWithStatus exception is greater than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505). Or it's 429 (TOO MANY REQUESTS) without Retry-After header.

SendAsync(HttpRequestMessage, IEventListener)

Applies to