RequestHeaders 클래스

정의

강력한 형식의 HTTP 요청 헤더.

public ref class RequestHeaders
public class RequestHeaders
type RequestHeaders = class
Public Class RequestHeaders
상속
RequestHeaders

생성자

RequestHeaders(IHeaderDictionary)

RequestHeaders의 새 인스턴스를 초기화합니다.

속성

Accept

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Accept .

AcceptCharset

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Accept-Charset .

AcceptEncoding

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Accept-Encoding .

AcceptLanguage

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Accept-Language .

CacheControl

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Cache-Control .

ContentDisposition

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Content-Disposition .

ContentLength

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Content-Length .

ContentRange

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Content-Range .

ContentType

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Content-Type .

Cookie

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Cookie .

Date

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Date .

Expires

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Expires .

Headers

백업 요청 헤더 사전을 가져옵니다.

Host

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Host .

IfMatch

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 If-Match .

IfModifiedSince

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 If-Modified-Since .

IfNoneMatch

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 If-None-Match .

IfRange

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 If-Range .

IfUnmodifiedSince

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 If-Unmodified-Since .

LastModified

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Last-Modified .

Range

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Range .

Referer

HTTP 요청에 대한 헤더를 가져오거나 설정합니다 Referer .

메서드

Append(String, Object)

헤더 이름 및 값을 추가합니다.

AppendList<T>(String, IList<T>)

헤더 이름과 값을 추가합니다.

Get<T>(String)

를 사용하여 헤더 name의 값을 가져옵니다.

GetList<T>(String)

를 사용하여 헤더 name의 값을 가져옵니다.

Set(String, Object)

헤더 값을 설정합니다.

SetList<T>(String, IList<T>)

지정된 헤더와 값을 설정합니다.

적용 대상