C# 클래스 System.Net.Http.WinHttpResponseParser

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
CreateResponseMessage ( WinHttpRequestState state, bool doManualDecompressionCheck ) : HttpResponseMessage
GetResponseHeader ( Interop.WinHttp.SafeWinHttpHandle requestHandle, uint infoLevel, char &buffer, uint &index, string &headerValue ) : bool
GetResponseHeaderNumberInfo ( Interop.WinHttp.SafeWinHttpHandle requestHandle, uint infoLevel ) : uint

Returns the first header or throws if the header isn't found.

비공개 메소드들

메소드 설명
GetReasonPhrase ( HttpStatusCode statusCode, char buffer, int bufferLength ) : string
GetResponseHeader ( Interop.WinHttp.SafeWinHttpHandle requestHandle, uint infoLevel, char buffer ) : int

Fills the buffer with the header value and returns the length, or returns 0 if the header isn't found.

GetResponseHeaderCharBufferLength ( Interop.WinHttp.SafeWinHttpHandle requestHandle, uint infoLevel ) : int

Returns the size of the char array buffer.

IsResponseHttp2 ( Interop.WinHttp.SafeWinHttpHandle requestHandle ) : bool
ParseResponseHeaders ( Interop.WinHttp.SafeWinHttpHandle requestHandle, HttpResponseMessage response, char buffer, bool stripEncodingHeaders ) : void
QueryHeaders ( Interop.WinHttp.SafeWinHttpHandle requestHandle, uint infoLevel, char buffer, int &bufferLength, uint &index ) : bool

메소드 상세

CreateResponseMessage() 공개 정적인 메소드

public static CreateResponseMessage ( WinHttpRequestState state, bool doManualDecompressionCheck ) : HttpResponseMessage
state WinHttpRequestState
doManualDecompressionCheck bool
리턴 HttpResponseMessage

GetResponseHeader() 공개 정적인 메소드

public static GetResponseHeader ( Interop.WinHttp.SafeWinHttpHandle requestHandle, uint infoLevel, char &buffer, uint &index, string &headerValue ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle
infoLevel uint
buffer char
index uint
headerValue string
리턴 bool

GetResponseHeaderNumberInfo() 공개 정적인 메소드

Returns the first header or throws if the header isn't found.
public static GetResponseHeaderNumberInfo ( Interop.WinHttp.SafeWinHttpHandle requestHandle, uint infoLevel ) : uint
requestHandle Interop.WinHttp.SafeWinHttpHandle
infoLevel uint
리턴 uint