HttpContinueDelegate 대리자

정의

클라이언트가 계속 응답을 받을 때 호출자에게 알리는 메서드를 나타냅니다.

public delegate void HttpContinueDelegate(int StatusCode, WebHeaderCollection ^ httpHeaders);
public delegate void HttpContinueDelegate(int StatusCode, WebHeaderCollection httpHeaders);
type HttpContinueDelegate = delegate of int * WebHeaderCollection -> unit
Public Delegate Sub HttpContinueDelegate(StatusCode As Integer, httpHeaders As WebHeaderCollection)

매개 변수

StatusCode
Int32

서버에서 HTTP 상태의 숫자 값입니다.

httpHeaders
WebHeaderCollection

서버에서 100-continue 응답으로 반환된 헤더입니다.

설명

서버에서 HTTP 100-continue 응답을 받을 때 호출할 콜백 메서드를 지정하는 데 사용합니다 HttpContinueDelegate . 설정되면 형식 HttpStatusCode.Continue 의 첫 번째 프로토콜 응답을 받을 때마다 대리자가 호출됩니다. 이는 버전 1.1 Framework의 동작에서 변경된 것입니다.

이벤트 처리기는 .와 동일한 매개 변수를 HttpContinueDelegate선언해야 합니다.

참고

StatusCode 항상 HttpStatusCode.Continue합니다.

이는 클라이언트가 서버에서 수신되는 데이터의 상태를 표시하려는 경우에 유용합니다.

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상