System::Net::HttpRequestHeader 枚举

HttpRequestHeader enum

枚举请求头。此类的对象只能使用 System::MakeObject() 函数分配。切勿在栈上或使用 operator new 创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装到 System::SmartPtr 指针中,并使用该指针将其作为参数传递给函数。

enum class HttpRequestHeader

名称描述
CacheControl0‘Cache-Control’ 头部。
Connection1‘Connection’ 头部。
Date2‘Date’ 头部。
KeepAlive3‘Keep-Alive’ 头部。
Pragma4‘Pragma’ 头部。
Trailer5‘Trailer’ 头部。
TransferEncoding6‘Transfer-Encoding’ 头部。
Upgrade7‘Upgrade’ 头部。
Via8‘Via’ 头部。
Warning9‘Warning’ 头部。
Allow10‘Allow’ 头部。
ContentLength11‘Content-Length’ 头部。
ContentType12该 ‘Content-Type’ 头部。
ContentEncoding13该 ‘Content-Encoding’ 头部。
ContentLanguage14该 ‘Content-Language’ 头部。
ContentLocation15该 ‘Content-Location’ 头部。
ContentMd516该 ‘Content-MD5’ 头部。
ContentRange17该 ‘Content-Range’ 头部。
Expires18该 ‘Expires’ 头部。
LastModified19该 ‘Last-Modified’ 头部。
Accept20‘Accept’ 头。
AcceptCharset21‘Accept-Charset’ 头。
AcceptEncoding22‘Accept-Encoding’ 头。
AcceptLanguage23‘Accept-Language’ 头。
Authorization24‘Authorization’ 头。
Cookie25Cookie’ 头。
Expect26‘Expect’ 头。
From27‘From’ 头。
Host28‘Host’ 头。
IfMatch29‘If-Match’ 头。
IfModifiedSince30‘If-Modified-Since’ 头部。
IfNoneMatch31‘If-None-Match’ 头部。
IfRange32‘If-Range’ 头部。
IfUnmodifiedSince33‘If-Unmodified-Since’ 头部。
MaxForwards34‘Max-Forwards’ 头部。
ProxyAuthorization35‘Proxy-Authorization’ 头部。
Referer36‘Referer’ 头部。
Range37‘Range’ 头部。
Te38‘TE’ 头部。
Translate39‘Translate’ 头部。
UserAgent40‘User-Agent’ 头部。

另见