HttpMessageInvoker 클래스
정의
애플리케이션이 HTTP 처리기 체인에서 SendAsync(HttpRequestMessage, CancellationToken) 메서드를 호출할 수 있는 특수 클래스입니다.A specialty class that allows applications to call the SendAsync(HttpRequestMessage, CancellationToken) method on an HTTP handler chain.
public ref class HttpMessageInvoker : IDisposable
public class HttpMessageInvoker : IDisposable
type HttpMessageInvoker = class
interface IDisposable
Public Class HttpMessageInvoker
Implements IDisposable
- 상속
-
HttpMessageInvoker
- 파생
- 구현
설명
이 클래스의 기본 형식인 HttpClient 및 기타 메시지 보낸 사람입니다.This class is the base type for HttpClient and other message originators.
웹 사이트에 연결 하는 대부분의 애플리케이션 하나를 사용 합니다 SendAsync 메서드는 HttpClient 클래스.Most applications that are connecting to a web site will use one of the SendAsync methods on the HttpClient class.
생성자
HttpMessageInvoker(HttpMessageHandler) |
특정 HttpMessageInvoker를 사용하여 HttpMessageHandler 클래스의 인스턴스를 초기화합니다.Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler. |
HttpMessageInvoker(HttpMessageHandler, Boolean) |
특정 HttpMessageInvoker를 사용하여 HttpMessageHandler 클래스의 인스턴스를 초기화합니다.Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler. |
메서드
Dispose() |
관리되지 않는 리소스를 해제하고, HttpMessageInvoker에서 사용하는 관리되는 리소스를 삭제합니다.Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageInvoker. |
Dispose(Boolean) |
HttpMessageInvoker에서 사용하는 관리되지 않는 리소스를 해제하고 관리되는 리소스를 선택적으로 삭제할 수 있습니다.Releases the unmanaged resources used by the HttpMessageInvoker and optionally disposes of the managed resources. |
Equals(Object) |
지정한 개체와 현재 개체가 같은지 여부를 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
SendAsync(HttpRequestMessage, CancellationToken) |
HTTP 요청을 비동기 작업으로 보냅니다.Send an HTTP request as an asynchronous operation. |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |