Request Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an HTTP request. Use CreateMessage() or CreateRequest() to create an instance.
public abstract class Request : IDisposable
type Request = class
interface IDisposable
Public MustInherit Class Request
Implements IDisposable
- Inheritance
-
Request
- Implements
Constructors
Request() |
Properties
ClientRequestId |
Gets or sets the client request id that was sent to the server as |
Content |
Gets or sets the request content. |
Headers |
Gets the response HTTP headers. |
Method |
Gets or sets the request HTTP method. |
Uri |
Gets or sets and instance of RequestUriBuilder used to create the Uri. |
Methods
AddHeader(String, String) |
Adds a header value to the header collection. |
ContainsHeader(String) |
Returns |
Dispose() |
Frees resources held by this Response instance. |
EnumerateHeaders() |
Returns an iterator enumerating HttpHeader in the request. |
RemoveHeader(String) |
Removes the header from the collection. |
SetHeader(String, String) |
Sets a header value the header collection. |
TryGetHeader(String, String) |
Returns header value if the header is stored in the collection. If the header has multiple values they are going to be joined with a comma. |
TryGetHeaderValues(String, IEnumerable<String>) |
Returns header values if the header is stored in the collection. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기