RequestHeaders Class¶
- Namespace
Microsoft.AspNetCore.Http.Headers- Assemblies
- Microsoft.AspNetCore.Http.Extensions
Constructors¶
-
RequestHeaders(Microsoft.AspNetCore.Http.IHeaderDictionary)¶ public RequestHeaders(IHeaderDictionary headers)
-
Properties¶
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.Accept¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue> public IList<MediaTypeHeaderValue> Accept { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.AcceptCharset¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.StringWithQualityHeaderValue> public IList<StringWithQualityHeaderValue> AcceptCharset { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.AcceptEncoding¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.StringWithQualityHeaderValue> public IList<StringWithQualityHeaderValue> AcceptEncoding { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.AcceptLanguage¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.StringWithQualityHeaderValue> public IList<StringWithQualityHeaderValue> AcceptLanguage { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.CacheControl¶ Return type: Microsoft.Net.Http.Headers.CacheControlHeaderValue public CacheControlHeaderValue CacheControl { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.ContentDisposition¶ Return type: Microsoft.Net.Http.Headers.ContentDispositionHeaderValue public ContentDispositionHeaderValue ContentDisposition { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.ContentLength¶ Return type: System.Nullable<System.Int64> public long ? ContentLength { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.ContentRange¶ Return type: Microsoft.Net.Http.Headers.ContentRangeHeaderValue public ContentRangeHeaderValue ContentRange { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.ContentType¶ Return type: Microsoft.Net.Http.Headers.MediaTypeHeaderValue public MediaTypeHeaderValue ContentType { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.Cookie¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.CookieHeaderValue> public IList<CookieHeaderValue> Cookie { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.Date¶ Return type: System.Nullable<System.DateTimeOffset> public DateTimeOffset? Date { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.Expires¶ Return type: System.Nullable<System.DateTimeOffset> public DateTimeOffset? Expires { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.Headers¶ Return type: Microsoft.AspNetCore.Http.IHeaderDictionary public IHeaderDictionary Headers { get; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.Host¶ Return type: Microsoft.AspNetCore.Http.HostString public HostString Host { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.IfMatch¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.EntityTagHeaderValue> public IList<EntityTagHeaderValue> IfMatch { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.IfModifiedSince¶ Return type: System.Nullable<System.DateTimeOffset> public DateTimeOffset? IfModifiedSince { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.IfNoneMatch¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.EntityTagHeaderValue> public IList<EntityTagHeaderValue> IfNoneMatch { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.IfRange¶ Return type: Microsoft.Net.Http.Headers.RangeConditionHeaderValue public RangeConditionHeaderValue IfRange { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.IfUnmodifiedSince¶ Return type: System.Nullable<System.DateTimeOffset> public DateTimeOffset? IfUnmodifiedSince { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.LastModified¶ Return type: System.Nullable<System.DateTimeOffset> public DateTimeOffset? LastModified { get; set; }
-
Microsoft.AspNetCore.Http.Headers.RequestHeaders.Range¶ Return type: Microsoft.Net.Http.Headers.RangeHeaderValue public RangeHeaderValue Range { get; set; }
-
Methods¶
-
Append(System.String, System.Object)¶ public void Append(string name, object value)
-
AppendList<T>(System.String, System.Collections.Generic.IList<T>)¶ public void AppendList<T>(string name, IList<T> values)
-
GetList<T>(System.String)¶ Return type: System.Collections.Generic.IList<T> public IList<T> GetList<T>(string name)
-
Get<T>(System.String)¶ Return type: T public T Get<T>(string name)
-
Set(System.String, System.Object)¶ public void Set(string name, object value)
-
SetList<T>(System.String, System.Collections.Generic.IList<T>)¶ public void SetList<T>(string name, IList<T> values)
-