RingDotNetfor Ring

Microsoft.Net.Http.Headers

18 wrapped types. Load them with using { "Microsoft.Net.Http.Headers" }. Click a class to open it.

AspCacheControlHeaderValue class

Microsoft.Net.Http.Headers.CacheControlHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspCacheControlHeaderValue()

Ring: new AspCacheControlHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspCacheControlHeaderValue().@New([ :param = value ]) or dnNew("AspCacheControlHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NoCacheboolread, writeo.NoCache o.NoCache = v
NoCacheHeadersICollection<StringSegment>reado.NoCacheHeaders
NoStoreboolread, writeo.NoStore o.NoStore = v
MaxAgeTimeSpan?read, writeo.MaxAge o.MaxAge = v
SharedMaxAgeTimeSpan?read, writeo.SharedMaxAge o.SharedMaxAge = v
MaxStaleboolread, writeo.MaxStale o.MaxStale = v
MaxStaleLimitTimeSpan?read, writeo.MaxStaleLimit o.MaxStaleLimit = v
MinFreshTimeSpan?read, writeo.MinFresh o.MinFresh = v
NoTransformboolread, writeo.NoTransform o.NoTransform = v
OnlyIfCachedboolread, writeo.OnlyIfCached o.OnlyIfCached = v
Publicboolread, writeo.Public o.Public = v
Privateboolread, writeo.getPrivate() o.setPrivate(v)
PrivateHeadersICollection<StringSegment>reado.PrivateHeaders
MustRevalidateboolread, writeo.MustRevalidate o.MustRevalidate = v
ProxyRevalidateboolread, writeo.ProxyRevalidate o.ProxyRevalidate = v
ExtensionsIList<NameValueHeaderValue>reado.Extensions
PublicStringstringread · statico.PublicString
PrivateStringstringread · statico.PrivateString
MaxAgeStringstringread · statico.MaxAgeString
SharedMaxAgeStringstringread · statico.SharedMaxAgeString
NoCacheStringstringread · statico.NoCacheString
NoStoreStringstringread · statico.NoStoreString
MaxStaleStringstringread · statico.MaxStaleString
MinFreshStringstringread · statico.MinFreshString
NoTransformStringstringread · statico.NoTransformString
OnlyIfCachedStringstringread · statico.OnlyIfCachedString
MustRevalidateStringstringread · statico.MustRevalidateString
ProxyRevalidateStringstringread · statico.ProxyRevalidateString

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static CacheControlHeaderValue Parse(StringSegment input)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out CacheControlHeaderValue parsedValue)
AspContentDispositionHeaderValue class

Microsoft.Net.Http.Headers.ContentDispositionHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspContentDispositionHeaderValue(StringSegment dispositionType)

Ring: new AspContentDispositionHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspContentDispositionHeaderValue().@New([ :param = value ]) or dnNew("AspContentDispositionHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
DispositionTypeStringSegmentread, writeo.DispositionType o.DispositionType = v
ParametersIList<NameValueHeaderValue>reado.Parameters
NameStringSegmentread, writeo.Name o.Name = v
FileNameStringSegmentread, writeo.FileName o.FileName = v
FileNameStarStringSegmentread, writeo.FileNameStar o.FileNameStar = v
CreationDateDateTimeOffset?read, writeo.CreationDate o.CreationDate = v
ModificationDateDateTimeOffset?read, writeo.ModificationDate o.ModificationDate = v
ReadDateDateTimeOffset?read, writeo.ReadDate o.ReadDate = v
Sizelong?read, writeo.Size o.Size = v

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static ContentDispositionHeaderValue Parse(StringSegment input)
SetHttpFileNameSetHttpFileName(p1)void SetHttpFileName(StringSegment fileName)
SetMimeFileNameSetMimeFileName(p1)void SetMimeFileName(StringSegment fileName)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out ContentDispositionHeaderValue parsedValue)
AspContentRangeHeaderValue class

Microsoft.Net.Http.Headers.ContentRangeHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspContentRangeHeaderValue(long from, long to, long length)
new AspContentRangeHeaderValue(long length)
new AspContentRangeHeaderValue(long from, long to)

Ring: new AspContentRangeHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspContentRangeHeaderValue().@New([ :param = value ]) or dnNew("AspContentRangeHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
UnitStringSegmentread, writeo.Unit o.Unit = v
Fromlong?reado.From
Tolong?reado.To
Lengthlong?reado.Length
HasLengthboolreado.HasLength
HasRangeboolreado.HasRange

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static ContentRangeHeaderValue Parse(StringSegment input)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out ContentRangeHeaderValue parsedValue)
AspEntityTagHeaderValue class

Microsoft.Net.Http.Headers.EntityTagHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspEntityTagHeaderValue(StringSegment tag)
new AspEntityTagHeaderValue(StringSegment tag, bool isWeak)

Ring: new AspEntityTagHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspEntityTagHeaderValue().@New([ :param = value ]) or dnNew("AspEntityTagHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
TagStringSegmentreado.Tag
IsWeakboolreado.IsWeak
AnyEntityTagHeaderValueread · statico.Any

Methods

MethodRing call.NET overloads
CompareCompare(p1,p2)bool Compare(EntityTagHeaderValue other, bool useStrongComparison)
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static EntityTagHeaderValue Parse(StringSegment input)
ParseListParseList(p1)static IList<EntityTagHeaderValue> ParseList(IList<string> inputs)
ParseStrictListParseStrictList(p1)static IList<EntityTagHeaderValue> ParseStrictList(IList<string> inputs)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out EntityTagHeaderValue parsedValue)
TryParseListTryParseList(p1)static bool TryParseList(IList<string> inputs, out IList<EntityTagHeaderValue> parsedValues)
TryParseStrictListTryParseStrictList(p1)static bool TryParseStrictList(IList<string> inputs, out IList<EntityTagHeaderValue> parsedValues)
AspMediaTypeHeaderValue class

Microsoft.Net.Http.Headers.MediaTypeHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspMediaTypeHeaderValue(StringSegment mediaType)
new AspMediaTypeHeaderValue(StringSegment mediaType, double quality)

Ring: new AspMediaTypeHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspMediaTypeHeaderValue().@New([ :param = value ]) or dnNew("AspMediaTypeHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CharsetStringSegmentread, writeo.Charset o.Charset = v
EncodingEncodingread, writeo.Encoding o.Encoding = v
BoundaryStringSegmentread, writeo.Boundary o.Boundary = v
ParametersIList<NameValueHeaderValue>reado.Parameters
Qualitydouble?read, writeo.Quality o.Quality = v
MediaTypeStringSegmentread, writeo.MediaType o.MediaType = v
TypeStringSegmentreado.Type
SubTypeStringSegmentreado.SubType
SubTypeWithoutSuffixStringSegmentreado.SubTypeWithoutSuffix
SuffixStringSegmentreado.Suffix
FacetsIEnumerable<StringSegment>reado.Facets
MatchesAllTypesboolreado.MatchesAllTypes
MatchesAllSubTypesboolreado.MatchesAllSubTypes
MatchesAllSubTypesWithoutSuffixboolreado.MatchesAllSubTypesWithoutSuffix
IsReadOnlyboolreado.IsReadOnly

Methods

MethodRing call.NET overloads
CopycallMethod("Copy",[])MediaTypeHeaderValue Copy()
CopyAsReadOnlycallMethod("CopyAsReadOnly",[])MediaTypeHeaderValue CopyAsReadOnly()
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
IsSubsetOfIsSubsetOf(p1)bool IsSubsetOf(MediaTypeHeaderValue otherMediaType)
MatchesMediaTypeMatchesMediaType(p1)bool MatchesMediaType(StringSegment otherMediaType)
ParseParse(p1)static MediaTypeHeaderValue Parse(StringSegment input)
ParseListParseList(p1)static IList<MediaTypeHeaderValue> ParseList(IList<string> inputs)
ParseStrictListParseStrictList(p1)static IList<MediaTypeHeaderValue> ParseStrictList(IList<string> inputs)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out MediaTypeHeaderValue parsedValue)
TryParseListTryParseList(p1)static bool TryParseList(IList<string> inputs, out IList<MediaTypeHeaderValue> parsedValues)
TryParseStrictListTryParseStrictList(p1)static bool TryParseStrictList(IList<string> inputs, out IList<MediaTypeHeaderValue> parsedValues)
AspNameValueHeaderValue class

Microsoft.Net.Http.Headers.NameValueHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspNameValueHeaderValue(StringSegment name)
new AspNameValueHeaderValue(StringSegment name, StringSegment value)

Ring: new AspNameValueHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspNameValueHeaderValue().@New([ :param = value ]) or dnNew("AspNameValueHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NameStringSegmentreado.Name
ValueStringSegmentread, writeo.Value o.Value = v
IsReadOnlyboolreado.IsReadOnly

Methods

MethodRing call.NET overloads
CopycallMethod("Copy",[])NameValueHeaderValue Copy()
CopyAsReadOnlycallMethod("CopyAsReadOnly",[])NameValueHeaderValue CopyAsReadOnly()
EqualsEquals(p1)bool Equals(object obj)
FindFind(p1,p2)static NameValueHeaderValue Find(IList<NameValueHeaderValue> values, StringSegment name)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetUnescapedValuecallMethod("GetUnescapedValue",[])StringSegment GetUnescapedValue()
ParseParse(p1)static NameValueHeaderValue Parse(StringSegment input)
ParseListParseList(p1)static IList<NameValueHeaderValue> ParseList(IList<string> input)
ParseStrictListParseStrictList(p1)static IList<NameValueHeaderValue> ParseStrictList(IList<string> input)
SetAndEscapeValueSetAndEscapeValue(p1)void SetAndEscapeValue(StringSegment value)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out NameValueHeaderValue parsedValue)
TryParseListTryParseList(p1)static bool TryParseList(IList<string> input, out IList<NameValueHeaderValue> parsedValues)
TryParseStrictListTryParseStrictList(p1)static bool TryParseStrictList(IList<string> input, out IList<NameValueHeaderValue> parsedValues)
AspRangeConditionHeaderValue class

Microsoft.Net.Http.Headers.RangeConditionHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspRangeConditionHeaderValue(DateTimeOffset lastModified)
new AspRangeConditionHeaderValue(EntityTagHeaderValue entityTag)
new AspRangeConditionHeaderValue(string entityTag)

Ring: new AspRangeConditionHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspRangeConditionHeaderValue().@New([ :param = value ]) or dnNew("AspRangeConditionHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
LastModifiedDateTimeOffset?reado.LastModified
EntityTagEntityTagHeaderValuereado.EntityTag

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static RangeConditionHeaderValue Parse(StringSegment input)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out RangeConditionHeaderValue parsedValue)
AspRangeHeaderValue class

Microsoft.Net.Http.Headers.RangeHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspRangeHeaderValue()
new AspRangeHeaderValue(long? from, long? to)

Ring: new AspRangeHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspRangeHeaderValue().@New([ :param = value ]) or dnNew("AspRangeHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
UnitStringSegmentread, writeo.Unit o.Unit = v
RangesICollection<RangeItemHeaderValue>reado.Ranges

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static RangeHeaderValue Parse(StringSegment input)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out RangeHeaderValue parsedValue)
AspRangeItemHeaderValue class

Microsoft.Net.Http.Headers.RangeItemHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspRangeItemHeaderValue(long? from, long? to)

Ring: new AspRangeItemHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspRangeItemHeaderValue().@New([ :param = value ]) or dnNew("AspRangeItemHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Fromlong?reado.From
Tolong?reado.To

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
AspStringWithQualityHeaderValue class

Microsoft.Net.Http.Headers.StringWithQualityHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new AspStringWithQualityHeaderValue(StringSegment value)
new AspStringWithQualityHeaderValue(StringSegment value, double quality)

Ring: new AspStringWithQualityHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new AspStringWithQualityHeaderValue().@New([ :param = value ]) or dnNew("AspStringWithQualityHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueStringSegmentreado.Value
Qualitydouble?reado.Quality

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static StringWithQualityHeaderValue Parse(StringSegment input)
ParseListParseList(p1)static IList<StringWithQualityHeaderValue> ParseList(IList<string> input)
ParseStrictListParseStrictList(p1)static IList<StringWithQualityHeaderValue> ParseStrictList(IList<string> input)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out StringWithQualityHeaderValue parsedValue)
TryParseListTryParseList(p1)static bool TryParseList(IList<string> input, out IList<StringWithQualityHeaderValue> parsedValues)
TryParseStrictListTryParseStrictList(p1)static bool TryParseStrictList(IList<string> input, out IList<StringWithQualityHeaderValue> parsedValues)
ContentDispositionHeaderValueIdentityExtensions class static

Microsoft.Net.Http.Headers.ContentDispositionHeaderValueIdentityExtensions · assembly Microsoft.Net.Http.Headers

Methods

MethodRing call.NET overloads
IsFileDispositionIsFileDisposition(p1)static bool IsFileDisposition(ContentDispositionHeaderValue header)
IsFormDispositionIsFormDisposition(p1)static bool IsFormDisposition(ContentDispositionHeaderValue header)
CookieHeaderValue class

Microsoft.Net.Http.Headers.CookieHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new CookieHeaderValue(StringSegment name)
new CookieHeaderValue(StringSegment name, StringSegment value)

Ring: new CookieHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new CookieHeaderValue().@New([ :param = value ]) or dnNew("CookieHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NameStringSegmentread, writeo.Name o.Name = v
ValueStringSegmentread, writeo.Value o.Value = v

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static CookieHeaderValue Parse(StringSegment input)
ParseListParseList(p1)static IList<CookieHeaderValue> ParseList(IList<string> inputs)
ParseStrictListParseStrictList(p1)static IList<CookieHeaderValue> ParseStrictList(IList<string> inputs)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out CookieHeaderValue parsedValue)
TryParseListTryParseList(p1)static bool TryParseList(IList<string> inputs, out IList<CookieHeaderValue> parsedValues)
TryParseStrictListTryParseStrictList(p1)static bool TryParseStrictList(IList<string> inputs, out IList<CookieHeaderValue> parsedValues)
HeaderNames class static

Microsoft.Net.Http.Headers.HeaderNames · assembly Microsoft.Net.Http.Headers

Properties and fields

NameTypeAccessIn Ring
Acceptstringread · statico.Accept
AcceptCharsetstringread · statico.AcceptCharset
AcceptEncodingstringread · statico.AcceptEncoding
AcceptLanguagestringread · statico.AcceptLanguage
AcceptRangesstringread · statico.AcceptRanges
AccessControlAllowCredentialsstringread · statico.AccessControlAllowCredentials
AccessControlAllowHeadersstringread · statico.AccessControlAllowHeaders
AccessControlAllowMethodsstringread · statico.AccessControlAllowMethods
AccessControlAllowOriginstringread · statico.AccessControlAllowOrigin
AccessControlExposeHeadersstringread · statico.AccessControlExposeHeaders
AccessControlMaxAgestringread · statico.AccessControlMaxAge
AccessControlRequestHeadersstringread · statico.AccessControlRequestHeaders
AccessControlRequestMethodstringread · statico.AccessControlRequestMethod
Agestringread · statico.Age
Allowstringread · statico.Allow
AltSvcstringread · statico.AltSvc
Authoritystringread · statico.Authority
Authorizationstringread · statico.Authorization
Baggagestringread · statico.Baggage
CacheControlstringread · statico.CacheControl
Connectionstringread · statico.Connection
ContentDispositionstringread · statico.ContentDisposition
ContentEncodingstringread · statico.ContentEncoding
ContentLanguagestringread · statico.ContentLanguage
ContentLengthstringread · statico.ContentLength
ContentLocationstringread · statico.ContentLocation
ContentMD5stringread · statico.ContentMD5
ContentRangestringread · statico.ContentRange
ContentSecurityPolicystringread · statico.ContentSecurityPolicy
ContentSecurityPolicyReportOnlystringread · statico.ContentSecurityPolicyReportOnly
ContentTypestringread · statico.ContentType
CorrelationContextstringread · statico.CorrelationContext
Cookiestringread · statico.Cookie
Datestringread · statico.Date
DNTstringread · statico.DNT
ETagstringread · statico.ETag
Expiresstringread · statico.Expires
Expectstringread · statico.Expect
Fromstringread · statico.From
GrpcAcceptEncodingstringread · statico.GrpcAcceptEncoding
GrpcEncodingstringread · statico.GrpcEncoding
GrpcMessagestringread · statico.GrpcMessage
GrpcStatusstringread · statico.GrpcStatus
GrpcTimeoutstringread · statico.GrpcTimeout
Hoststringread · statico.Host
KeepAlivestringread · statico.KeepAlive
IfMatchstringread · statico.IfMatch
IfModifiedSincestringread · statico.IfModifiedSince
IfNoneMatchstringread · statico.IfNoneMatch
IfRangestringread · statico.IfRange
IfUnmodifiedSincestringread · statico.IfUnmodifiedSince
LastModifiedstringread · statico.LastModified
Linkstringread · statico.Link
Locationstringread · statico.Location
MaxForwardsstringread · statico.MaxForwards
Methodstringread · statico.Method
Originstringread · statico.Origin
Pathstringread · statico.Path
Pragmastringread · statico.Pragma
ProxyAuthenticatestringread · statico.ProxyAuthenticate
ProxyAuthorizationstringread · statico.ProxyAuthorization
ProxyConnectionstringread · statico.ProxyConnection
Rangestringread · statico.Range
Refererstringread · statico.Referer
RetryAfterstringread · statico.RetryAfter
RequestIdstringread · statico.RequestId
Schemestringread · statico.Scheme
SecWebSocketAcceptstringread · statico.SecWebSocketAccept
SecWebSocketKeystringread · statico.SecWebSocketKey
SecWebSocketProtocolstringread · statico.SecWebSocketProtocol
SecWebSocketVersionstringread · statico.SecWebSocketVersion
SecWebSocketExtensionsstringread · statico.SecWebSocketExtensions
Serverstringread · statico.Server
SetCookiestringread · statico.SetCookie
Statusstringread · statico.Status
StrictTransportSecuritystringread · statico.StrictTransportSecurity
TEstringread · statico.TE
Trailerstringread · statico.Trailer
TransferEncodingstringread · statico.TransferEncoding
Translatestringread · statico.Translate
TraceParentstringread · statico.TraceParent
TraceStatestringread · statico.TraceState
Upgradestringread · statico.Upgrade
UpgradeInsecureRequestsstringread · statico.UpgradeInsecureRequests
UserAgentstringread · statico.UserAgent
Varystringread · statico.Vary
Viastringread · statico.Via
Warningstringread · statico.Warning
WebSocketSubProtocolsstringread · statico.WebSocketSubProtocols
WWWAuthenticatestringread · statico.WWWAuthenticate
XContentTypeOptionsstringread · statico.XContentTypeOptions
XFrameOptionsstringread · statico.XFrameOptions
XPoweredBystringread · statico.XPoweredBy
XRequestedWithstringread · statico.XRequestedWith
XUACompatiblestringread · statico.XUACompatible
XXSSProtectionstringread · statico.XXSSProtection
HeaderQuality class static

Microsoft.Net.Http.Headers.HeaderQuality · assembly Microsoft.Net.Http.Headers

Properties and fields

NameTypeAccessIn Ring
Matchdoubleconstant · statico.Match
NoMatchdoubleconstant · statico.NoMatch
HeaderUtilities class static

Microsoft.Net.Http.Headers.HeaderUtilities · assembly Microsoft.Net.Http.Headers

Methods

MethodRing call.NET overloads
ContainsCacheDirectiveContainsCacheDirective(p1,p2)static bool ContainsCacheDirective(StringValues cacheControlDirectives, string targetDirectives)
EscapeAsQuotedStringEscapeAsQuotedString(p1)static StringSegment EscapeAsQuotedString(StringSegment input)
FormatDateFormatDate(value)
FormatDate([ :dateTime = … ])
FormatDate([ :dateTime = …, :quoted = … ])
static string FormatDate(DateTimeOffset dateTime)
static string FormatDate(DateTimeOffset dateTime, bool quoted)
FormatNonNegativeInt64callMethod("FormatNonNegativeInt64",[p1])static string FormatNonNegativeInt64(long value)
IsQuotedIsQuoted(p1)static bool IsQuoted(StringSegment input)
RemoveQuotesRemoveQuotes(p1)static StringSegment RemoveQuotes(StringSegment input)
TryParseDateTryParseDate(p1)static bool TryParseDate(StringSegment input, out DateTimeOffset result)
TryParseNonNegativeInt32TryParseNonNegativeInt32(p1)static bool TryParseNonNegativeInt32(StringSegment value, out int result)
TryParseNonNegativeInt64TryParseNonNegativeInt64(p1)static bool TryParseNonNegativeInt64(StringSegment value, out long result)
TryParseSecondsTryParseSeconds(p1,p2)static bool TryParseSeconds(StringValues headerValues, string targetValue, out TimeSpan? value)
UnescapeAsQuotedStringUnescapeAsQuotedString(p1)static StringSegment UnescapeAsQuotedString(StringSegment input)
MediaTypeHeaderValueComparer class

Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer · assembly Microsoft.Net.Http.Headers

Properties and fields

NameTypeAccessIn Ring
QualityComparerMediaTypeHeaderValueComparerread · statico.QualityComparer

Methods

MethodRing call.NET overloads
CompareCompare(p1,p2)int Compare(MediaTypeHeaderValue mediaType1, MediaTypeHeaderValue mediaType2)
SetCookieHeaderValue class

Microsoft.Net.Http.Headers.SetCookieHeaderValue · assembly Microsoft.Net.Http.Headers

Constructors

new SetCookieHeaderValue(StringSegment name)
new SetCookieHeaderValue(StringSegment name, StringSegment value)

Ring: new SetCookieHeaderValue(args) uses one constructor; the others are chosen by the parameter names: new SetCookieHeaderValue().@New([ :param = value ]) or dnNew("SetCookieHeaderValue",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NameStringSegmentread, writeo.Name o.Name = v
ValueStringSegmentread, writeo.Value o.Value = v
ExpiresDateTimeOffset?read, writeo.Expires o.Expires = v
MaxAgeTimeSpan?read, writeo.MaxAge o.MaxAge = v
DomainStringSegmentread, writeo.Domain o.Domain = v
PathStringSegmentread, writeo.Path o.Path = v
Secureboolread, writeo.Secure o.Secure = v
SameSiteSameSiteModeread, writeo.SameSite o.SameSite = v
HttpOnlyboolread, writeo.HttpOnly o.HttpOnly = v
ExtensionsIList<StringSegment>reado.Extensions

Methods

MethodRing call.NET overloads
AppendToStringBuilderAppendToStringBuilder(p1)void AppendToStringBuilder(StringBuilder builder)
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static SetCookieHeaderValue Parse(StringSegment input)
ParseListParseList(p1)static IList<SetCookieHeaderValue> ParseList(IList<string> inputs)
ParseStrictListParseStrictList(p1)static IList<SetCookieHeaderValue> ParseStrictList(IList<string> inputs)
ToStringcallMethod("ToString",[])string ToString()
TryParseTryParse(p1)static bool TryParse(StringSegment input, out SetCookieHeaderValue parsedValue)
TryParseListTryParseList(p1)static bool TryParseList(IList<string> inputs, out IList<SetCookieHeaderValue> parsedValues)
TryParseStrictListTryParseStrictList(p1)static bool TryParseStrictList(IList<string> inputs, out IList<SetCookieHeaderValue> parsedValues)
StringWithQualityHeaderValueComparer class

Microsoft.Net.Http.Headers.StringWithQualityHeaderValueComparer · assembly Microsoft.Net.Http.Headers

Properties and fields

NameTypeAccessIn Ring
QualityComparerStringWithQualityHeaderValueComparerread · statico.QualityComparer

Methods

MethodRing call.NET overloads
CompareCompare(p1,p2)int Compare(StringWithQualityHeaderValue stringWithQuality1, StringWithQualityHeaderValue stringWithQuality2)