RingDotNetfor Ring

Microsoft.AspNetCore.Http

92 wrapped types. Load them with using { "Microsoft.AspNetCore.Http" }. Click a class to open it.

AsParametersAttribute AspEndpoint AspFormCollection BadHttpRequestException BindingAddress ConnectionInfo CookieBuilder CookieOptions DefaultEndpointFilterInvocationContext DefaultHttpContext DefaultHttpContextFactory DisableHttpMetricsAttribute EndpointDescriptionAttribute EndpointFilterExtensions EndpointFilterFactoryContext EndpointFilterInvocationContext EndpointHttpContextExtensions EndpointMetadataCollection EndpointMetadataCollectionEnumerator EndpointSummaryAttribute FormCollectionEnumerator FormFile FormFileCollection FragmentString HeaderDictionary HeaderDictionaryEnumerator HeaderDictionaryExtensions HeaderDictionaryTypeExtensions HostString HttpContext HttpContextAccessor HttpContextServerVariableExtensions HttpMethods HttpProtocol HttpRequest HttpRequestJsonExtensions HttpRequestRewindExtensions HttpResponse HttpResponseJsonExtensions HttpResponseWritingExtensions HttpValidationProblemDetails IBindableFromHttpContext IContentTypeHttpResult IEndpointFilter IFileHttpResult IFormCollection IFormFile IFormFileCollection IHeaderDictionary IHttpContextAccessor IHttpContextFactory IMiddleware IMiddlewareFactory INestedHttpResult IProblemDetailsService IProblemDetailsWriter IQueryCollection IRequestCookieCollection IResponseCookies IResult IResultExtensions ISession IStatusCodeHttpResult IValueHttpResult IValueHttpResult1 MiddlewareFactory OpenApiRouteHandlerBuilderExtensions PathString ProblemDetailsContext ProblemDetailsOptions ProducesResponseTypeMetadata QueryCollection QueryCollectionEnumerator QueryString RequestDelegateFactory RequestDelegateFactoryOptions RequestDelegateMetadataResult RequestDelegateResult RequestFormReaderExtensions RequestTrailerExtensions ResponseExtensions ResponseTrailerExtensions Results SendFileFallback SendFileResponseExtensions SessionExtensions StatusCodes StreamResponseBodyFeature TagsAttribute TypedResults WebSocketAcceptContext WebSocketManager
AsParametersAttribute class sealed · extends Attribute

Microsoft.AspNetCore.Http.AsParametersAttribute · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new AsParametersAttribute()

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

Members of the base class are inherited.

AspEndpoint class

Microsoft.AspNetCore.Http.Endpoint · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new AspEndpoint(RequestDelegate requestDelegate, EndpointMetadataCollection metadata, string displayName)

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

Properties and fields

NameTypeAccessIn Ring
DisplayNamestringreado.DisplayName
MetadataEndpointMetadataCollectionreado.Metadata
RequestDelegateRequestDelegatereado.RequestDelegate

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()
AspFormCollection class

Microsoft.AspNetCore.Http.FormCollection · assembly Microsoft.AspNetCore.Http

Implements: IEnumerable

Constructors

new AspFormCollection(Dictionary<string, StringValues> fields, IFormFileCollection files = …)

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

Properties and fields

NameTypeAccessIn Ring
FilesIFormFileCollectionreado.Files
Countintreado.Count
KeysICollection<string>reado.Keys
EmptyFormCollectionread · statico.Empty

Indexer

o.Item(string key) → StringValues

Methods

MethodRing call.NET overloads
ContainsKeycallMethod("ContainsKey",[p1])bool ContainsKey(string key)
GetEnumeratorcallMethod("GetEnumerator",[])FormCollection.Enumerator GetEnumerator()
TryGetValueTryGetValue(p1)bool TryGetValue(string key, out StringValues value)
BadHttpRequestException class · extends IOException

Microsoft.AspNetCore.Http.BadHttpRequestException · assembly Microsoft.AspNetCore.Http.Abstractions

Implements: ISerializable

Constructors

new BadHttpRequestException(string message, int statusCode)
new BadHttpRequestException(string message)
new BadHttpRequestException(string message, int statusCode, Exception innerException)
new BadHttpRequestException(string message, Exception innerException)

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

Properties and fields

NameTypeAccessIn Ring
StatusCodeintreado.StatusCode

Members of the base class are inherited.

BindingAddress class

Microsoft.AspNetCore.Http.BindingAddress · assembly Microsoft.AspNetCore.Http

Constructors

new BindingAddress()

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

Properties and fields

NameTypeAccessIn Ring
Hoststringreado.Host
PathBasestringreado.PathBase
Portintreado.Port
Schemestringreado.Scheme
IsUnixPipeboolreado.IsUnixPipe
IsNamedPipeboolreado.IsNamedPipe
UnixPipePathstringreado.UnixPipePath
NamedPipeNamestringreado.NamedPipeName

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ParseParse(p1)static BindingAddress Parse(string address)
ToStringcallMethod("ToString",[])string ToString()
ConnectionInfo class abstract

Microsoft.AspNetCore.Http.ConnectionInfo · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
Idstringread, writeo.Id o.Id = v
RemoteIpAddressIPAddressread, writeo.RemoteIpAddress o.RemoteIpAddress = v
RemotePortintread, writeo.RemotePort o.RemotePort = v
LocalIpAddressIPAddressread, writeo.LocalIpAddress o.LocalIpAddress = v
LocalPortintread, writeo.LocalPort o.LocalPort = v
ClientCertificateX509Certificate2read, writeo.ClientCertificate o.ClientCertificate = v

Methods

MethodRing call.NET overloads
GetClientCertificateAsyncGetClientCertificateAsync(value)
GetClientCertificateAsync([ :cancellationToken = … ])
Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken = …)
RequestClosecallMethod("RequestClose",[])void RequestClose()
CookieBuilder class

Microsoft.AspNetCore.Http.CookieBuilder · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new CookieBuilder()

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

Properties and fields

NameTypeAccessIn Ring
Namestringread, writeo.Name o.Name = v
Pathstringread, writeo.Path o.Path = v
Domainstringread, writeo.Domain o.Domain = v
HttpOnlyboolread, writeo.HttpOnly o.HttpOnly = v
SameSiteSameSiteModeread, writeo.SameSite o.SameSite = v
SecurePolicyCookieSecurePolicyread, writeo.SecurePolicy o.SecurePolicy = v
ExpirationTimeSpan?read, writeo.Expiration o.Expiration = v
MaxAgeTimeSpan?read, writeo.MaxAge o.MaxAge = v
IsEssentialboolread, writeo.IsEssential o.IsEssential = v
ExtensionsIList<string>reado.Extensions

Methods

MethodRing call.NET overloads
BuildBuild(value)
Build([ :context = … ])
Build([ :context = …, :expiresFrom = … ])
CookieOptions Build(HttpContext context)
CookieOptions Build(HttpContext context, DateTimeOffset expiresFrom)
CookieOptions class

Microsoft.AspNetCore.Http.CookieOptions · assembly Microsoft.AspNetCore.Http.Features

Constructors

new CookieOptions()
new CookieOptions(CookieOptions options)

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

Properties and fields

NameTypeAccessIn Ring
Domainstringread, writeo.Domain o.Domain = v
Pathstringread, writeo.Path o.Path = v
ExpiresDateTimeOffset?read, writeo.Expires o.Expires = v
Secureboolread, writeo.Secure o.Secure = v
SameSiteSameSiteModeread, writeo.SameSite o.SameSite = v
HttpOnlyboolread, writeo.HttpOnly o.HttpOnly = v
MaxAgeTimeSpan?read, writeo.MaxAge o.MaxAge = v
IsEssentialboolread, writeo.IsEssential o.IsEssential = v
ExtensionsIList<string>reado.Extensions

Methods

MethodRing call.NET overloads
CreateCookieHeadercallMethod("CreateCookieHeader",[p1,p2])SetCookieHeaderValue CreateCookieHeader(string name, string value)
DefaultEndpointFilterInvocationContext class sealed · extends EndpointFilterInvocationContext

Microsoft.AspNetCore.Http.DefaultEndpointFilterInvocationContext · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new DefaultEndpointFilterInvocationContext(HttpContext httpContext, object[] arguments)

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

Properties and fields

NameTypeAccessIn Ring
HttpContextHttpContextreado.getHttpContext()
ArgumentsIList<object>reado.getArguments()

Methods

MethodRing call.NET overloads
GetArgumentGetArgument(value)
GetArgument([ :index = … ])
T GetArgument<T>(int index)

Members of the base class are inherited.

DefaultHttpContext class sealed · extends HttpContext

Microsoft.AspNetCore.Http.DefaultHttpContext · assembly Microsoft.AspNetCore.Http

Constructors

new DefaultHttpContext()
new DefaultHttpContext(IFeatureCollection features)

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

Properties and fields

NameTypeAccessIn Ring
FormOptionsFormOptionsread, writeo.FormOptions o.FormOptions = v
ServiceScopeFactoryIServiceScopeFactoryread, writeo.ServiceScopeFactory o.ServiceScopeFactory = v
FeaturesIFeatureCollectionreado.getFeatures()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.getResponse()
ConnectionConnectionInforeado.getConnection()
WebSocketsWebSocketManagerreado.getWebSockets()
UserClaimsPrincipalread, writeo.getUser() o.setUser(v)
ItemsIDictionary<object, object>read, writeo.getItems() o.setItems(v)
RequestServicesIServiceProviderread, writeo.getRequestServices() o.setRequestServices(v)
RequestAbortedCancellationTokenread, writeo.getRequestAborted() o.setRequestAborted(v)
TraceIdentifierstringread, writeo.getTraceIdentifier() o.setTraceIdentifier(v)
SessionISessionread, writeo.getSession() o.setSession(v)
HttpContextHttpContextreado.HttpContext

Methods

MethodRing call.NET overloads
AbortcallMethod("Abort",[])void Abort()
InitializeInitialize(p1)void Initialize(IFeatureCollection features)
UninitializecallMethod("Uninitialize",[])void Uninitialize()

Members of the base class are inherited.

DefaultHttpContextFactory class

Microsoft.AspNetCore.Http.DefaultHttpContextFactory · assembly Microsoft.AspNetCore.Hosting

Constructors

new DefaultHttpContextFactory(IServiceProvider serviceProvider)

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

Methods

MethodRing call.NET overloads
CreatecallMethod("Create",[p1])HttpContext Create(IFeatureCollection featureCollection)
DisposeDispose(p1)void Dispose(HttpContext httpContext)
DisableHttpMetricsAttribute class sealed · extends Attribute

Microsoft.AspNetCore.Http.DisableHttpMetricsAttribute · assembly Microsoft.AspNetCore.Http.Extensions

Constructors

new DisableHttpMetricsAttribute()

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

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

EndpointDescriptionAttribute class sealed · extends Attribute

Microsoft.AspNetCore.Http.EndpointDescriptionAttribute · assembly Microsoft.AspNetCore.Http.Extensions

Constructors

new EndpointDescriptionAttribute(string description)

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

Properties and fields

NameTypeAccessIn Ring
Descriptionstringreado.Description

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

EndpointFilterExtensions class static

Microsoft.AspNetCore.Http.EndpointFilterExtensions · assembly Microsoft.AspNetCore.Routing

Methods

MethodRing call.NET overloads
AddEndpointFilterAddEndpointFilter(value)
AddEndpointFilter([ :builder = … ])
AddEndpointFilter([ :builder = …, :filter = … ])
AddEndpointFilter([ :builder = …, :routeHandlerFilter = … ])
static TBuilder AddEndpointFilter<TBuilder>(TBuilder builder, IEndpointFilter filter)
static TBuilder AddEndpointFilter<TBuilder, TFilterType>(TBuilder builder)
static RouteHandlerBuilder AddEndpointFilter<TFilterType>(RouteHandlerBuilder builder)
static RouteGroupBuilder AddEndpointFilter<TFilterType>(RouteGroupBuilder builder)
static TBuilder AddEndpointFilter<TBuilder>(TBuilder builder, Func<EndpointFilterInvocationContext, EndpointFilterDelegate, ValueTask<object>> routeHandlerFilter)
AddEndpointFilterFactoryAddEndpointFilterFactory(p1,p2)static TBuilder AddEndpointFilterFactory<TBuilder>(TBuilder builder, Func<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate> filterFactory)
EndpointFilterFactoryContext class sealed

Microsoft.AspNetCore.Http.EndpointFilterFactoryContext · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new EndpointFilterFactoryContext()

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

Properties and fields

NameTypeAccessIn Ring
MethodInfoMethodInforead, writeo.MethodInfo o.MethodInfo = v
ApplicationServicesIServiceProviderread, writeo.ApplicationServices o.ApplicationServices = v
EndpointFilterInvocationContext class abstract

Microsoft.AspNetCore.Http.EndpointFilterInvocationContext · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
HttpContextHttpContextreado.HttpContext
ArgumentsIList<object>reado.Arguments

Methods

MethodRing call.NET overloads
CreateCreate(value)
Create([ :httpContext = … ])
Create([ :httpContext = …, :arg = … ])
Create([ :httpContext = …, :arg1 = …, :arg2 = … ])
Create([ :httpContext = …, :arg1 = …, :arg2 = …, :arg3 = … ])
static EndpointFilterInvocationContext Create(HttpContext httpContext)
static EndpointFilterInvocationContext Create<T>(HttpContext httpContext, T arg)
static EndpointFilterInvocationContext Create<T1, T2>(HttpContext httpContext, T1 arg1, T2 arg2)
static EndpointFilterInvocationContext Create<T1, T2, T3>(HttpContext httpContext, T1 arg1, T2 arg2, T3 arg3)
static EndpointFilterInvocationContext Create<T1, T2, T3, T4>(HttpContext httpContext, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
static EndpointFilterInvocationContext Create<T1, T2, T3, T4, T5>(HttpContext httpContext, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
static EndpointFilterInvocationContext Create<T1, T2, T3, T4, T5, T6>(HttpContext httpContext, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
static EndpointFilterInvocationContext Create<T1, T2, T3, T4, T5, T6, T7>(HttpContext httpContext, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
static EndpointFilterInvocationContext Create<T1, T2, T3, T4, T5, T6, T7, T8>(HttpContext httpContext, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
GetArgumentGetArgument(value)
GetArgument([ :index = … ])
T GetArgument<T>(int index)
EndpointHttpContextExtensions class static

Microsoft.AspNetCore.Http.EndpointHttpContextExtensions · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
GetEndpointGetEndpoint(p1)static Endpoint GetEndpoint(HttpContext context)
SetEndpointSetEndpoint(p1,p2)static void SetEndpoint(HttpContext context, Endpoint endpoint)
EndpointMetadataCollection class sealed

Microsoft.AspNetCore.Http.EndpointMetadataCollection · assembly Microsoft.AspNetCore.Http.Abstractions

Implements: IEnumerable

Constructors

new EndpointMetadataCollection(IEnumerable<object> items)
new EndpointMetadataCollection(object[] items)

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

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
EmptyEndpointMetadataCollectionread · statico.Empty

Indexer

o.Item(int index) → object

Methods

MethodRing call.NET overloads
GetEnumeratorcallMethod("GetEnumerator",[])EndpointMetadataCollection.Enumerator GetEnumerator()
GetMetadataGetMetadata(NULL)T GetMetadata<T>()
GetOrderedMetadataGetOrderedMetadata(NULL)IReadOnlyList<T> GetOrderedMetadata<T>()
GetRequiredMetadataGetRequiredMetadata(NULL)T GetRequiredMetadata<T>()
EndpointMetadataCollectionEnumerator struct

Microsoft.AspNetCore.Http.EndpointMetadataCollection+Enumerator · assembly Microsoft.AspNetCore.Http.Abstractions

Implements: IDisposable, IEnumerator

Properties and fields

NameTypeAccessIn Ring
Currentobjectreado.Current

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
MoveNextcallMethod("MoveNext",[])bool MoveNext()
ResetcallMethod("Reset",[])void Reset()
EndpointSummaryAttribute class sealed · extends Attribute

Microsoft.AspNetCore.Http.EndpointSummaryAttribute · assembly Microsoft.AspNetCore.Http.Extensions

Constructors

new EndpointSummaryAttribute(string summary)

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

Properties and fields

NameTypeAccessIn Ring
Summarystringreado.Summary

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

FormCollectionEnumerator struct

Microsoft.AspNetCore.Http.FormCollection+Enumerator · assembly Microsoft.AspNetCore.Http

Implements: IDisposable, IEnumerator

Properties and fields

NameTypeAccessIn Ring
CurrentKeyValuePair<string, StringValues>reado.Current

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
MoveNextcallMethod("MoveNext",[])bool MoveNext()
FormFile class

Microsoft.AspNetCore.Http.FormFile · assembly Microsoft.AspNetCore.Http

Constructors

new FormFile(Stream baseStream, long baseStreamOffset, long length, string name, string fileName)

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

Properties and fields

NameTypeAccessIn Ring
ContentDispositionstringread, writeo.ContentDisposition o.ContentDisposition = v
ContentTypestringread, writeo.ContentType o.ContentType = v
HeadersIHeaderDictionaryread, writeo.Headers o.Headers = v
Lengthlongreado.Length
Namestringreado.Name
FileNamestringreado.FileName

Methods

MethodRing call.NET overloads
CopyToCopyTo(p1)void CopyTo(Stream target)
CopyToAsyncCopyToAsync([ :target = …, :cancellationToken = … ])Task CopyToAsync(Stream target, CancellationToken cancellationToken = …)
OpenReadStreamcallMethod("OpenReadStream",[])Stream OpenReadStream()
FormFileCollection class · extends List<IFormFile>

Microsoft.AspNetCore.Http.FormFileCollection · assembly Microsoft.AspNetCore.Http

Implements: IEnumerable, IList, ICollection

Constructors

new FormFileCollection()

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

Properties and fields

NameTypeAccessIn Ring
Capacityintread, writeo.getCapacity() o.setCapacity(v)
Countintreado.getCount()

Indexer

o.Item(string name) → IFormFile

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])void Add(IFormFile item)
AddRangeAddRange(p1)void AddRange(IEnumerable<IFormFile> collection)
AsReadOnlycallMethod("AsReadOnly",[])ReadOnlyCollection<IFormFile> AsReadOnly()
BinarySearchcallMethod("BinarySearch",[p1])
callMethod("BinarySearch",[p1,p2])
callMethod("BinarySearch",[p1,p2,p3,p4])
int BinarySearch(int index, int count, IFormFile item, IComparer<IFormFile> comparer)
int BinarySearch(IFormFile item)
int BinarySearch(IFormFile item, IComparer<IFormFile> comparer)
ClearcallMethod("Clear",[])void Clear()
ContainscallMethod("Contains",[p1])bool Contains(IFormFile item)
ConvertAllcallMethod("ConvertAll",[p1])List<TOutput> ConvertAll<TOutput>(Converter<IFormFile, TOutput> converter)
CopyTocallMethod("CopyTo",[p1])
callMethod("CopyTo",[p1,p2])
callMethod("CopyTo",[p1,p2,p3,p4])
void CopyTo(IFormFile[] array)
void CopyTo(int index, IFormFile[] array, int arrayIndex, int count)
void CopyTo(IFormFile[] array, int arrayIndex)
EnsureCapacitycallMethod("EnsureCapacity",[p1])int EnsureCapacity(int capacity)
ExistsExists(p1)bool Exists(Predicate<IFormFile> match)
FindcallMethod("Find",[p1])IFormFile Find(Predicate<IFormFile> match)
FindAllcallMethod("FindAll",[p1])List<IFormFile> FindAll(Predicate<IFormFile> match)
FindIndexcallMethod("FindIndex",[p1])
callMethod("FindIndex",[p1,p2])
callMethod("FindIndex",[p1,p2,p3])
int FindIndex(Predicate<IFormFile> match)
int FindIndex(int startIndex, Predicate<IFormFile> match)
int FindIndex(int startIndex, int count, Predicate<IFormFile> match)
FindLastcallMethod("FindLast",[p1])IFormFile FindLast(Predicate<IFormFile> match)
FindLastIndexcallMethod("FindLastIndex",[p1])
callMethod("FindLastIndex",[p1,p2])
callMethod("FindLastIndex",[p1,p2,p3])
int FindLastIndex(Predicate<IFormFile> match)
int FindLastIndex(int startIndex, Predicate<IFormFile> match)
int FindLastIndex(int startIndex, int count, Predicate<IFormFile> match)
ForEach@ForEach(p1)void ForEach(Action<IFormFile> action)
GetEnumeratorcallMethod("GetEnumerator",[])Enumerator<IFormFile> GetEnumerator()
GetFilecallMethod("GetFile",[p1])IFormFile GetFile(string name)
GetFilescallMethod("GetFiles",[p1])IReadOnlyList<IFormFile> GetFiles(string name)
GetRangecallMethod("GetRange",[p1,p2])List<IFormFile> GetRange(int index, int count)
IndexOfcallMethod("IndexOf",[p1])
callMethod("IndexOf",[p1,p2])
callMethod("IndexOf",[p1,p2,p3])
int IndexOf(IFormFile item)
int IndexOf(IFormFile item, int index)
int IndexOf(IFormFile item, int index, int count)
InsertcallMethod("Insert",[p1,p2])void Insert(int index, IFormFile item)
InsertRangeInsertRange(p1,p2)void InsertRange(int index, IEnumerable<IFormFile> collection)
LastIndexOfcallMethod("LastIndexOf",[p1])
callMethod("LastIndexOf",[p1,p2])
callMethod("LastIndexOf",[p1,p2,p3])
int LastIndexOf(IFormFile item)
int LastIndexOf(IFormFile item, int index)
int LastIndexOf(IFormFile item, int index, int count)
RemovecallMethod("Remove",[p1])bool Remove(IFormFile item)
RemoveAllRemoveAll(p1)int RemoveAll(Predicate<IFormFile> match)
RemoveAtcallMethod("RemoveAt",[p1])void RemoveAt(int index)
RemoveRangecallMethod("RemoveRange",[p1,p2])void RemoveRange(int index, int count)
ReverseReverse(NULL)
Reverse([ :index = …, :count = … ])
void Reverse()
void Reverse(int index, int count)
SlicecallMethod("Slice",[p1,p2])List<IFormFile> Slice(int start, int length)
SortcallMethod("Sort",[])
callMethod("Sort",[p1])
callMethod("Sort",[p1,p2,p3])
void Sort()
void Sort(IComparer<IFormFile> comparer)
void Sort(int index, int count, IComparer<IFormFile> comparer)
void Sort(Comparison<IFormFile> comparison)
ToArraycallMethod("ToArray",[])IFormFile[] ToArray()
TrimExcesscallMethod("TrimExcess",[])void TrimExcess()
TrueForAllTrueForAll(p1)bool TrueForAll(Predicate<IFormFile> match)

Members of the base class are inherited.

FragmentString struct

Microsoft.AspNetCore.Http.FragmentString · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new FragmentString(string value)

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

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value
HasValueboolreado.HasValue
EmptyFragmentStringread · statico.Empty

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(FragmentString other)
bool Equals(object obj)
FromUriComponentFromUriComponent(p1)static FragmentString FromUriComponent(string uriComponent)
static FragmentString FromUriComponent(Uri uri)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
ToUriComponentcallMethod("ToUriComponent",[])string ToUriComponent()
HeaderDictionary class

Microsoft.AspNetCore.Http.HeaderDictionary · assembly Microsoft.AspNetCore.Http

Implements: IEnumerable

Constructors

new HeaderDictionary()
new HeaderDictionary(Dictionary<string, StringValues> store)
new HeaderDictionary(int capacity)

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

Properties and fields

NameTypeAccessIn Ring
ContentLengthlong?read, writeo.ContentLength o.ContentLength = v
Countintreado.Count
IsReadOnlyboolread, writeo.IsReadOnly o.IsReadOnly = v
KeysICollection<string>reado.Keys
ValuesICollection<StringValues>reado.Values

Indexer

o.Item(string key) → StringValues · o.SetItem(key,value)

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])
callMethod("Add",[p1,p2])
void Add(KeyValuePair<string, StringValues> item)
void Add(string key, StringValues value)
ClearcallMethod("Clear",[])void Clear()
ContainsContains(p1)bool Contains(KeyValuePair<string, StringValues> item)
ContainsKeycallMethod("ContainsKey",[p1])bool ContainsKey(string key)
CopyToCopyTo(p1,p2)void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
GetEnumeratorcallMethod("GetEnumerator",[])HeaderDictionary.Enumerator GetEnumerator()
RemoveRemove(p1)bool Remove(KeyValuePair<string, StringValues> item)
bool Remove(string key)
TryGetValueTryGetValue(p1)bool TryGetValue(string key, out StringValues value)
HeaderDictionaryEnumerator struct

Microsoft.AspNetCore.Http.HeaderDictionary+Enumerator · assembly Microsoft.AspNetCore.Http

Implements: IDisposable, IEnumerator

Properties and fields

NameTypeAccessIn Ring
CurrentKeyValuePair<string, StringValues>reado.Current

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
MoveNextcallMethod("MoveNext",[])bool MoveNext()
HeaderDictionaryExtensions class static

Microsoft.AspNetCore.Http.HeaderDictionaryExtensions · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
AppendAppend(p1,p2,p3)static void Append(IHeaderDictionary headers, string key, StringValues value)
AppendCommaSeparatedValuesAppendCommaSeparatedValues(p1,p2,p3)static void AppendCommaSeparatedValues(IHeaderDictionary headers, string key, string[] values)
GetCommaSeparatedValuesGetCommaSeparatedValues(p1,p2)static string[] GetCommaSeparatedValues(IHeaderDictionary headers, string key)
SetCommaSeparatedValuesSetCommaSeparatedValues(p1,p2,p3)static void SetCommaSeparatedValues(IHeaderDictionary headers, string key, string[] values)
HeaderDictionaryTypeExtensions class static

Microsoft.AspNetCore.Http.HeaderDictionaryTypeExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
AppendListAppendList(p1,p2,p3)static void AppendList<T>(IHeaderDictionary Headers, string name, IList<T> values)
GetTypedHeadersGetTypedHeaders(p1)static RequestHeaders GetTypedHeaders(HttpRequest request)
static ResponseHeaders GetTypedHeaders(HttpResponse response)
HostString struct

Microsoft.AspNetCore.Http.HostString · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new HostString(string value)
new HostString(string host, int port)

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

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value
HasValueboolreado.HasValue
Hoststringreado.Host
Portint?reado.Port

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(HostString other)
bool Equals(object obj)
FromUriComponentFromUriComponent(p1)static HostString FromUriComponent(string uriComponent)
static HostString FromUriComponent(Uri uri)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
MatchesAnyMatchesAny(p1,p2)static bool MatchesAny(StringSegment value, IList<StringSegment> patterns)
ToStringcallMethod("ToString",[])string ToString()
ToUriComponentcallMethod("ToUriComponent",[])string ToUriComponent()
HttpContext class abstract

Microsoft.AspNetCore.Http.HttpContext · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
FeaturesIFeatureCollectionreado.Features
RequestHttpRequestreado.Request
ResponseHttpResponsereado.Response
ConnectionConnectionInforeado.Connection
WebSocketsWebSocketManagerreado.WebSockets
UserClaimsPrincipalread, writeo.User o.User = v
ItemsIDictionary<object, object>read, writeo.Items o.Items = v
RequestServicesIServiceProviderread, writeo.RequestServices o.RequestServices = v
RequestAbortedCancellationTokenread, writeo.RequestAborted o.RequestAborted = v
TraceIdentifierstringread, writeo.TraceIdentifier o.TraceIdentifier = v
SessionISessionread, writeo.Session o.Session = v

Methods

MethodRing call.NET overloads
AbortcallMethod("Abort",[])void Abort()
HttpContextAccessor class

Microsoft.AspNetCore.Http.HttpContextAccessor · assembly Microsoft.AspNetCore.Http

Constructors

new HttpContextAccessor()

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

Properties and fields

NameTypeAccessIn Ring
HttpContextHttpContextread, writeo.HttpContext o.HttpContext = v
HttpContextServerVariableExtensions class static

Microsoft.AspNetCore.Http.HttpContextServerVariableExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
GetServerVariableGetServerVariable(p1,p2)static string GetServerVariable(HttpContext context, string variableName)
HttpMethods class static

Microsoft.AspNetCore.Http.HttpMethods · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
Connectstringread · statico.Connect
Deletestringread · statico.Delete
Getstringread · statico.getGet()
Headstringread · statico.Head
Optionsstringread · statico.Options
Patchstringread · statico.Patch
Poststringread · statico.Post
Putstringread · statico.getPut()
Tracestringread · statico.Trace

Methods

MethodRing call.NET overloads
EqualsEquals([ :methodA = …, :methodB = … ])static bool Equals(string methodA, string methodB)
GetCanonicalizedValuecallMethod("GetCanonicalizedValue",[p1])static string GetCanonicalizedValue(string method)
IsConnectcallMethod("IsConnect",[p1])static bool IsConnect(string method)
IsDeletecallMethod("IsDelete",[p1])static bool IsDelete(string method)
IsGetcallMethod("IsGet",[p1])static bool IsGet(string method)
IsHeadcallMethod("IsHead",[p1])static bool IsHead(string method)
IsOptionscallMethod("IsOptions",[p1])static bool IsOptions(string method)
IsPatchcallMethod("IsPatch",[p1])static bool IsPatch(string method)
IsPostcallMethod("IsPost",[p1])static bool IsPost(string method)
IsPutcallMethod("IsPut",[p1])static bool IsPut(string method)
IsTracecallMethod("IsTrace",[p1])static bool IsTrace(string method)
HttpProtocol class static

Microsoft.AspNetCore.Http.HttpProtocol · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
Http09stringread · statico.Http09
Http10stringread · statico.Http10
Http11stringread · statico.Http11
Http2stringread · statico.Http2
Http3stringread · statico.Http3

Methods

MethodRing call.NET overloads
GetHttpProtocolGetHttpProtocol(p1)static string GetHttpProtocol(Version version)
IsHttp09callMethod("IsHttp09",[p1])static bool IsHttp09(string protocol)
IsHttp10callMethod("IsHttp10",[p1])static bool IsHttp10(string protocol)
IsHttp11callMethod("IsHttp11",[p1])static bool IsHttp11(string protocol)
IsHttp2callMethod("IsHttp2",[p1])static bool IsHttp2(string protocol)
IsHttp3callMethod("IsHttp3",[p1])static bool IsHttp3(string protocol)
HttpRequest class abstract

Microsoft.AspNetCore.Http.HttpRequest · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
HttpContextHttpContextreado.HttpContext
Methodstringread, writeo.Method o.Method = v
Schemestringread, writeo.Scheme o.Scheme = v
IsHttpsboolread, writeo.IsHttps o.IsHttps = v
HostHostStringread, writeo.Host o.Host = v
PathBasePathStringread, writeo.PathBase o.PathBase = v
PathPathStringread, writeo.Path o.Path = v
QueryStringQueryStringread, writeo.QueryString o.QueryString = v
QueryIQueryCollectionread, writeo.Query o.Query = v
Protocolstringread, writeo.Protocol o.Protocol = v
HeadersIHeaderDictionaryreado.Headers
CookiesIRequestCookieCollectionread, writeo.Cookies o.Cookies = v
ContentLengthlong?read, writeo.ContentLength o.ContentLength = v
ContentTypestringread, writeo.ContentType o.ContentType = v
BodyStreamread, writeo.Body o.Body = v
BodyReaderPipeReaderreado.BodyReader
HasFormContentTypeboolreado.HasFormContentType
FormIFormCollectionread, writeo.Form o.Form = v
RouteValuesRouteValueDictionaryread, writeo.RouteValues o.RouteValues = v

Methods

MethodRing call.NET overloads
ReadFormAsyncReadFormAsync(value)
ReadFormAsync([ :cancellationToken = … ])
Task<IFormCollection> ReadFormAsync(CancellationToken cancellationToken = …)
HttpRequestJsonExtensions class static

Microsoft.AspNetCore.Http.HttpRequestJsonExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
HasJsonContentTypeHasJsonContentType(p1)static bool HasJsonContentType(HttpRequest request)
ReadFromJsonAsyncReadFromJsonAsync([ :request = …, :cancellationToken = … ])
ReadFromJsonAsync([ :request = …, :options = …, :cancellationToken = … ])
ReadFromJsonAsync([ :request = …, :jsonTypeInfo = …, :cancellationToken = … ])
ReadFromJsonAsync([ :request = …, :type = …, :cancellationToken = … ])
static ValueTask<TValue> ReadFromJsonAsync<TValue>(HttpRequest request, CancellationToken cancellationToken = …)
static ValueTask<TValue> ReadFromJsonAsync<TValue>(HttpRequest request, JsonSerializerOptions options, CancellationToken cancellationToken = …)
static ValueTask<TValue> ReadFromJsonAsync<TValue>(HttpRequest request, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)
static ValueTask<object> ReadFromJsonAsync(HttpRequest request, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken = …)
static ValueTask<object> ReadFromJsonAsync(HttpRequest request, Type type, CancellationToken cancellationToken = …)
static ValueTask<object> ReadFromJsonAsync(HttpRequest request, Type type, JsonSerializerOptions options, CancellationToken cancellationToken = …)
static ValueTask<object> ReadFromJsonAsync(HttpRequest request, Type type, JsonSerializerContext context, CancellationToken cancellationToken = …)
HttpRequestRewindExtensions class static

Microsoft.AspNetCore.Http.HttpRequestRewindExtensions · assembly Microsoft.AspNetCore.Http

Methods

MethodRing call.NET overloads
EnableBufferingEnableBuffering(value)
EnableBuffering([ :request = … ])
EnableBuffering([ :request = …, :bufferThreshold = … ])
EnableBuffering([ :request = …, :bufferLimit = … ])
EnableBuffering([ :request = …, :bufferThreshold = …, :bufferLimit = … ])
static void EnableBuffering(HttpRequest request)
static void EnableBuffering(HttpRequest request, int bufferThreshold)
static void EnableBuffering(HttpRequest request, long bufferLimit)
static void EnableBuffering(HttpRequest request, int bufferThreshold, long bufferLimit)
HttpResponse class abstract

Microsoft.AspNetCore.Http.HttpResponse · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
HttpContextHttpContextreado.HttpContext
StatusCodeintread, writeo.StatusCode o.StatusCode = v
HeadersIHeaderDictionaryreado.Headers
BodyStreamread, writeo.Body o.Body = v
BodyWriterPipeWriterreado.BodyWriter
ContentLengthlong?read, writeo.ContentLength o.ContentLength = v
ContentTypestringread, writeo.ContentType o.ContentType = v
CookiesIResponseCookiesreado.Cookies
HasStartedboolreado.HasStarted

Methods

MethodRing call.NET overloads
CompleteAsynccallMethod("CompleteAsync",[])Task CompleteAsync()
OnCompletedcallMethod("OnCompleted",[p1])
callMethod("OnCompleted",[p1,p2])
void OnCompleted(Func<object, Task> callback, object state)
void OnCompleted(Func<Task> callback)
OnStartingcallMethod("OnStarting",[p1])
callMethod("OnStarting",[p1,p2])
void OnStarting(Func<object, Task> callback, object state)
void OnStarting(Func<Task> callback)
RedirectcallMethod("Redirect",[p1])
callMethod("Redirect",[p1,p2])
void Redirect(string location)
void Redirect(string location, bool permanent)
RegisterForDisposeRegisterForDispose(p1)void RegisterForDispose(IDisposable disposable)
RegisterForDisposeAsyncRegisterForDisposeAsync(p1)void RegisterForDisposeAsync(IAsyncDisposable disposable)
StartAsyncStartAsync(value)
StartAsync([ :cancellationToken = … ])
Task StartAsync(CancellationToken cancellationToken = …)
HttpResponseJsonExtensions class static

Microsoft.AspNetCore.Http.HttpResponseJsonExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
WriteAsJsonAsyncWriteAsJsonAsync([ :response = …, :value = …, :cancellationToken = … ])
WriteAsJsonAsync([ :response = …, :value = …, :options = …, :cancellationToken = … ])
WriteAsJsonAsync([ :response = …, :value = …, :type = …, :cancellationToken = … ])
WriteAsJsonAsync([ :response = …, :value = …, :options = …, :contentType = …, :cancellationToken = … ])
static Task WriteAsJsonAsync<TValue>(HttpResponse response, TValue value, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync<TValue>(HttpResponse response, TValue value, JsonSerializerOptions options, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync<TValue>(HttpResponse response, TValue value, JsonSerializerOptions options, string contentType, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync<TValue>(HttpResponse response, TValue value, JsonTypeInfo<TValue> jsonTypeInfo, string contentType = …, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync(HttpResponse response, object value, JsonTypeInfo jsonTypeInfo, string contentType = …, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync(HttpResponse response, object value, Type type, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync(HttpResponse response, object value, Type type, JsonSerializerOptions options, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync(HttpResponse response, object value, Type type, JsonSerializerOptions options, string contentType, CancellationToken cancellationToken = …)
static Task WriteAsJsonAsync(HttpResponse response, object value, Type type, JsonSerializerContext context, string contentType = …, CancellationToken cancellationToken = …)
HttpResponseWritingExtensions class static

Microsoft.AspNetCore.Http.HttpResponseWritingExtensions · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
WriteAsyncWriteAsync([ :response = …, :text = …, :cancellationToken = … ])
WriteAsync([ :response = …, :text = …, :encoding = …, :cancellationToken = … ])
static Task WriteAsync(HttpResponse response, string text, CancellationToken cancellationToken = …)
static Task WriteAsync(HttpResponse response, string text, Encoding encoding, CancellationToken cancellationToken = …)
HttpValidationProblemDetails class · extends ProblemDetails

Microsoft.AspNetCore.Http.HttpValidationProblemDetails · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new HttpValidationProblemDetails()
new HttpValidationProblemDetails(IDictionary<string, string[]> errors)
new HttpValidationProblemDetails(IEnumerable<KeyValuePair<string, string[]>> errors)

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

Properties and fields

NameTypeAccessIn Ring
ErrorsIDictionary<string, string[]>read, writeo.Errors o.Errors = v

Members of the base class are inherited.

IBindableFromHttpContext interface

Microsoft.AspNetCore.Http.IBindableFromHttpContext`1 · assembly Microsoft.AspNetCore.Http.Abstractions

IContentTypeHttpResult interface

Microsoft.AspNetCore.Http.IContentTypeHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
ContentTypestringreado.ContentType
IEndpointFilter interface

Microsoft.AspNetCore.Http.IEndpointFilter · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
InvokeAsynccallMethod("InvokeAsync",[p1,p2])ValueTask<object> InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)
IFileHttpResult interface

Microsoft.AspNetCore.Http.IFileHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
ContentTypestringreado.ContentType
FileDownloadNamestringreado.FileDownloadName
IFormCollection interface

Microsoft.AspNetCore.Http.IFormCollection · assembly Microsoft.AspNetCore.Http.Features

Implements: IEnumerable

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
KeysICollection<string>reado.Keys
FilesIFormFileCollectionreado.Files

Indexer

o.Item(string key) → StringValues

Methods

MethodRing call.NET overloads
ContainsKeycallMethod("ContainsKey",[p1])bool ContainsKey(string key)
TryGetValueTryGetValue(p1)bool TryGetValue(string key, out StringValues value)
IFormFile interface

Microsoft.AspNetCore.Http.IFormFile · assembly Microsoft.AspNetCore.Http.Features

Properties and fields

NameTypeAccessIn Ring
ContentTypestringreado.ContentType
ContentDispositionstringreado.ContentDisposition
HeadersIHeaderDictionaryreado.Headers
Lengthlongreado.Length
Namestringreado.Name
FileNamestringreado.FileName

Methods

MethodRing call.NET overloads
CopyToCopyTo(p1)void CopyTo(Stream target)
CopyToAsyncCopyToAsync([ :target = …, :cancellationToken = … ])Task CopyToAsync(Stream target, CancellationToken cancellationToken = …)
OpenReadStreamcallMethod("OpenReadStream",[])Stream OpenReadStream()
IFormFileCollection interface

Microsoft.AspNetCore.Http.IFormFileCollection · assembly Microsoft.AspNetCore.Http.Features

Implements: IEnumerable

Indexer

o.Item(string name) → IFormFile

Methods

MethodRing call.NET overloads
GetFilecallMethod("GetFile",[p1])IFormFile GetFile(string name)
GetFilescallMethod("GetFiles",[p1])IReadOnlyList<IFormFile> GetFiles(string name)
IHeaderDictionary interface

Microsoft.AspNetCore.Http.IHeaderDictionary · assembly Microsoft.AspNetCore.Http.Features

Implements: IEnumerable

Properties and fields

NameTypeAccessIn Ring
ContentLengthlong?read, writeo.ContentLength o.ContentLength = v
AcceptStringValuesread, writeo.Accept o.Accept = v
AcceptCharsetStringValuesread, writeo.AcceptCharset o.AcceptCharset = v
AcceptEncodingStringValuesread, writeo.AcceptEncoding o.AcceptEncoding = v
AcceptLanguageStringValuesread, writeo.AcceptLanguage o.AcceptLanguage = v
AcceptRangesStringValuesread, writeo.AcceptRanges o.AcceptRanges = v
AccessControlAllowCredentialsStringValuesread, writeo.AccessControlAllowCredentials o.AccessControlAllowCredentials = v
AccessControlAllowHeadersStringValuesread, writeo.AccessControlAllowHeaders o.AccessControlAllowHeaders = v
AccessControlAllowMethodsStringValuesread, writeo.AccessControlAllowMethods o.AccessControlAllowMethods = v
AccessControlAllowOriginStringValuesread, writeo.AccessControlAllowOrigin o.AccessControlAllowOrigin = v
AccessControlExposeHeadersStringValuesread, writeo.AccessControlExposeHeaders o.AccessControlExposeHeaders = v
AccessControlMaxAgeStringValuesread, writeo.AccessControlMaxAge o.AccessControlMaxAge = v
AccessControlRequestHeadersStringValuesread, writeo.AccessControlRequestHeaders o.AccessControlRequestHeaders = v
AccessControlRequestMethodStringValuesread, writeo.AccessControlRequestMethod o.AccessControlRequestMethod = v
AgeStringValuesread, writeo.Age o.Age = v
AllowStringValuesread, writeo.Allow o.Allow = v
AltSvcStringValuesread, writeo.AltSvc o.AltSvc = v
AuthorizationStringValuesread, writeo.Authorization o.Authorization = v
BaggageStringValuesread, writeo.Baggage o.Baggage = v
CacheControlStringValuesread, writeo.CacheControl o.CacheControl = v
ConnectionStringValuesread, writeo.Connection o.Connection = v
ContentDispositionStringValuesread, writeo.ContentDisposition o.ContentDisposition = v
ContentEncodingStringValuesread, writeo.ContentEncoding o.ContentEncoding = v
ContentLanguageStringValuesread, writeo.ContentLanguage o.ContentLanguage = v
ContentLocationStringValuesread, writeo.ContentLocation o.ContentLocation = v
ContentMD5StringValuesread, writeo.ContentMD5 o.ContentMD5 = v
ContentRangeStringValuesread, writeo.ContentRange o.ContentRange = v
ContentSecurityPolicyStringValuesread, writeo.ContentSecurityPolicy o.ContentSecurityPolicy = v
ContentSecurityPolicyReportOnlyStringValuesread, writeo.ContentSecurityPolicyReportOnly o.ContentSecurityPolicyReportOnly = v
ContentTypeStringValuesread, writeo.ContentType o.ContentType = v
CorrelationContextStringValuesread, writeo.CorrelationContext o.CorrelationContext = v
CookieStringValuesread, writeo.Cookie o.Cookie = v
DateStringValuesread, writeo.Date o.Date = v
ETagStringValuesread, writeo.ETag o.ETag = v
ExpiresStringValuesread, writeo.Expires o.Expires = v
ExpectStringValuesread, writeo.Expect o.Expect = v
FromStringValuesread, writeo.From o.From = v
GrpcAcceptEncodingStringValuesread, writeo.GrpcAcceptEncoding o.GrpcAcceptEncoding = v
GrpcEncodingStringValuesread, writeo.GrpcEncoding o.GrpcEncoding = v
GrpcMessageStringValuesread, writeo.GrpcMessage o.GrpcMessage = v
GrpcStatusStringValuesread, writeo.GrpcStatus o.GrpcStatus = v
GrpcTimeoutStringValuesread, writeo.GrpcTimeout o.GrpcTimeout = v
HostStringValuesread, writeo.Host o.Host = v
KeepAliveStringValuesread, writeo.KeepAlive o.KeepAlive = v
IfMatchStringValuesread, writeo.IfMatch o.IfMatch = v
IfModifiedSinceStringValuesread, writeo.IfModifiedSince o.IfModifiedSince = v
IfNoneMatchStringValuesread, writeo.IfNoneMatch o.IfNoneMatch = v
IfRangeStringValuesread, writeo.IfRange o.IfRange = v
IfUnmodifiedSinceStringValuesread, writeo.IfUnmodifiedSince o.IfUnmodifiedSince = v
LastModifiedStringValuesread, writeo.LastModified o.LastModified = v
LinkStringValuesread, writeo.Link o.Link = v
LocationStringValuesread, writeo.Location o.Location = v
MaxForwardsStringValuesread, writeo.MaxForwards o.MaxForwards = v
OriginStringValuesread, writeo.Origin o.Origin = v
PragmaStringValuesread, writeo.Pragma o.Pragma = v
ProxyAuthenticateStringValuesread, writeo.ProxyAuthenticate o.ProxyAuthenticate = v
ProxyAuthorizationStringValuesread, writeo.ProxyAuthorization o.ProxyAuthorization = v
ProxyConnectionStringValuesread, writeo.ProxyConnection o.ProxyConnection = v
RangeStringValuesread, writeo.Range o.Range = v
RefererStringValuesread, writeo.Referer o.Referer = v
RetryAfterStringValuesread, writeo.RetryAfter o.RetryAfter = v
RequestIdStringValuesread, writeo.RequestId o.RequestId = v
SecWebSocketAcceptStringValuesread, writeo.SecWebSocketAccept o.SecWebSocketAccept = v
SecWebSocketKeyStringValuesread, writeo.SecWebSocketKey o.SecWebSocketKey = v
SecWebSocketProtocolStringValuesread, writeo.SecWebSocketProtocol o.SecWebSocketProtocol = v
SecWebSocketVersionStringValuesread, writeo.SecWebSocketVersion o.SecWebSocketVersion = v
SecWebSocketExtensionsStringValuesread, writeo.SecWebSocketExtensions o.SecWebSocketExtensions = v
ServerStringValuesread, writeo.Server o.Server = v
SetCookieStringValuesread, writeo.SetCookie o.SetCookie = v
StrictTransportSecurityStringValuesread, writeo.StrictTransportSecurity o.StrictTransportSecurity = v
TEStringValuesread, writeo.TE o.TE = v
TrailerStringValuesread, writeo.Trailer o.Trailer = v
TransferEncodingStringValuesread, writeo.TransferEncoding o.TransferEncoding = v
TranslateStringValuesread, writeo.Translate o.Translate = v
TraceParentStringValuesread, writeo.TraceParent o.TraceParent = v
TraceStateStringValuesread, writeo.TraceState o.TraceState = v
UpgradeStringValuesread, writeo.Upgrade o.Upgrade = v
UpgradeInsecureRequestsStringValuesread, writeo.UpgradeInsecureRequests o.UpgradeInsecureRequests = v
UserAgentStringValuesread, writeo.UserAgent o.UserAgent = v
VaryStringValuesread, writeo.Vary o.Vary = v
ViaStringValuesread, writeo.Via o.Via = v
WarningStringValuesread, writeo.Warning o.Warning = v
WebSocketSubProtocolsStringValuesread, writeo.WebSocketSubProtocols o.WebSocketSubProtocols = v
WWWAuthenticateStringValuesread, writeo.WWWAuthenticate o.WWWAuthenticate = v
XContentTypeOptionsStringValuesread, writeo.XContentTypeOptions o.XContentTypeOptions = v
XFrameOptionsStringValuesread, writeo.XFrameOptions o.XFrameOptions = v
XPoweredByStringValuesread, writeo.XPoweredBy o.XPoweredBy = v
XRequestedWithStringValuesread, writeo.XRequestedWith o.XRequestedWith = v
XUACompatibleStringValuesread, writeo.XUACompatible o.XUACompatible = v
XXSSProtectionStringValuesread, writeo.XXSSProtection o.XXSSProtection = v

Indexer

o.Item(string key) → StringValues · o.SetItem(key,value)

IHttpContextAccessor interface

Microsoft.AspNetCore.Http.IHttpContextAccessor · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
HttpContextHttpContextread, writeo.HttpContext o.HttpContext = v
IHttpContextFactory interface

Microsoft.AspNetCore.Http.IHttpContextFactory · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
CreatecallMethod("Create",[p1])HttpContext Create(IFeatureCollection featureCollection)
DisposeDispose(p1)void Dispose(HttpContext httpContext)
IMiddleware interface

Microsoft.AspNetCore.Http.IMiddleware · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
InvokeAsynccallMethod("InvokeAsync",[p1,p2])Task InvokeAsync(HttpContext context, RequestDelegate next)
IMiddlewareFactory interface

Microsoft.AspNetCore.Http.IMiddlewareFactory · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
CreatecallMethod("Create",[p1])IMiddleware Create(Type middlewareType)
ReleasecallMethod("Release",[p1])void Release(IMiddleware middleware)
INestedHttpResult interface

Microsoft.AspNetCore.Http.INestedHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
ResultIResultreado.Result
IProblemDetailsService interface

Microsoft.AspNetCore.Http.IProblemDetailsService · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
TryWriteAsynccallMethod("TryWriteAsync",[p1])ValueTask<bool> TryWriteAsync(ProblemDetailsContext context)
WriteAsynccallMethod("WriteAsync",[p1])ValueTask WriteAsync(ProblemDetailsContext context)
IProblemDetailsWriter interface

Microsoft.AspNetCore.Http.IProblemDetailsWriter · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
CanWriteCanWrite(p1)bool CanWrite(ProblemDetailsContext context)
WriteAsynccallMethod("WriteAsync",[p1])ValueTask WriteAsync(ProblemDetailsContext context)
IQueryCollection interface

Microsoft.AspNetCore.Http.IQueryCollection · assembly Microsoft.AspNetCore.Http.Features

Implements: IEnumerable

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
KeysICollection<string>reado.Keys

Indexer

o.Item(string key) → StringValues

Methods

MethodRing call.NET overloads
ContainsKeycallMethod("ContainsKey",[p1])bool ContainsKey(string key)
TryGetValueTryGetValue(p1)bool TryGetValue(string key, out StringValues value)
IRequestCookieCollection interface

Microsoft.AspNetCore.Http.IRequestCookieCollection · assembly Microsoft.AspNetCore.Http.Features

Implements: IEnumerable

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
KeysICollection<string>reado.Keys

Indexer

o.Item(string key) → string

Methods

MethodRing call.NET overloads
ContainsKeycallMethod("ContainsKey",[p1])bool ContainsKey(string key)
TryGetValueTryGetValue(p1)bool TryGetValue(string key, out string value)
IResponseCookies interface

Microsoft.AspNetCore.Http.IResponseCookies · assembly Microsoft.AspNetCore.Http.Features

Methods

MethodRing call.NET overloads
AppendAppend([ :key = …, :value = … ])
Append([ :keyValuePairs = …, :options = … ])
Append([ :key = …, :value = …, :options = … ])
void Append(string key, string value)
void Append(string key, string value, CookieOptions options)
void Append(ReadOnlySpan<KeyValuePair<string, string>> keyValuePairs, CookieOptions options)
DeletecallMethod("Delete",[p1])
callMethod("Delete",[p1,p2])
void Delete(string key)
void Delete(string key, CookieOptions options)
IResult interface

Microsoft.AspNetCore.Http.IResult · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
ExecuteAsynccallMethod("ExecuteAsync",[p1])Task ExecuteAsync(HttpContext httpContext)
IResultExtensions interface

Microsoft.AspNetCore.Http.IResultExtensions · assembly Microsoft.AspNetCore.Http.Results

ISession interface

Microsoft.AspNetCore.Http.ISession · assembly Microsoft.AspNetCore.Http.Features

Properties and fields

NameTypeAccessIn Ring
IsAvailableboolreado.IsAvailable
Idstringreado.Id
KeysIEnumerable<string>reado.Keys

Methods

MethodRing call.NET overloads
ClearcallMethod("Clear",[])void Clear()
CommitAsyncCommitAsync(value)
CommitAsync([ :cancellationToken = … ])
Task CommitAsync(CancellationToken cancellationToken = …)
LoadAsyncLoadAsync(value)
LoadAsync([ :cancellationToken = … ])
Task LoadAsync(CancellationToken cancellationToken = …)
RemovecallMethod("Remove",[p1])void Remove(string key)
SetSet(p1,p2)void Set(string key, byte[] value)
TryGetValueTryGetValue(p1)bool TryGetValue(string key, out byte[] value)
IStatusCodeHttpResult interface

Microsoft.AspNetCore.Http.IStatusCodeHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
StatusCodeint?reado.StatusCode
IValueHttpResult interface

Microsoft.AspNetCore.Http.IValueHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
Valueobjectreado.Value
IValueHttpResult1 interface

Microsoft.AspNetCore.Http.IValueHttpResult`1 · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
ValueTValuereado.Value
MiddlewareFactory class

Microsoft.AspNetCore.Http.MiddlewareFactory · assembly Microsoft.AspNetCore.Http

Constructors

new MiddlewareFactory(IServiceProvider serviceProvider)

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

Methods

MethodRing call.NET overloads
CreatecallMethod("Create",[p1])IMiddleware Create(Type middlewareType)
ReleasecallMethod("Release",[p1])void Release(IMiddleware middleware)
OpenApiRouteHandlerBuilderExtensions class static

Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions · assembly Microsoft.AspNetCore.Routing

Methods

MethodRing call.NET overloads
AcceptsAccepts([ :builder = …, :contentType = …, :additionalContentTypes = … ])
Accepts([ :builder = …, :isOptional = …, :contentType = …, :additionalContentTypes = … ])
Accepts([ :builder = …, :requestType = …, :contentType = …, :additionalContentTypes = … ])
Accepts([ :builder = …, :requestType = …, :isOptional = …, :contentType = …, :additionalContentTypes = … ])
static RouteHandlerBuilder Accepts<TRequest>(RouteHandlerBuilder builder, string contentType, string[] additionalContentTypes)
static RouteHandlerBuilder Accepts<TRequest>(RouteHandlerBuilder builder, bool isOptional, string contentType, string[] additionalContentTypes)
static RouteHandlerBuilder Accepts(RouteHandlerBuilder builder, Type requestType, string contentType, string[] additionalContentTypes)
static RouteHandlerBuilder Accepts(RouteHandlerBuilder builder, Type requestType, bool isOptional, string contentType, string[] additionalContentTypes)
ExcludeFromDescriptionExcludeFromDescription(p1)static TBuilder ExcludeFromDescription<TBuilder>(TBuilder builder)
static RouteHandlerBuilder ExcludeFromDescription(RouteHandlerBuilder builder)
ProducesProduces([ :builder = …, :statusCode = …, :contentType = …, :additionalContentTypes = … ])
Produces([ :builder = …, :statusCode = …, :responseType = …, :contentType = …, :additionalContentTypes = … ])
static RouteHandlerBuilder Produces<TResponse>(RouteHandlerBuilder builder, int statusCode = …, string contentType = …, string[] additionalContentTypes)
static RouteHandlerBuilder Produces(RouteHandlerBuilder builder, int statusCode, Type responseType = …, string contentType = …, string[] additionalContentTypes)
ProducesProblemProducesProblem([ :builder = …, :statusCode = …, :contentType = … ])static RouteHandlerBuilder ProducesProblem(RouteHandlerBuilder builder, int statusCode, string contentType = …)
static TBuilder ProducesProblem<TBuilder>(TBuilder builder, int statusCode, string contentType = …)
ProducesValidationProblemProducesValidationProblem([ :builder = …, :statusCode = …, :contentType = … ])static RouteHandlerBuilder ProducesValidationProblem(RouteHandlerBuilder builder, int statusCode = …, string contentType = …)
static TBuilder ProducesValidationProblem<TBuilder>(TBuilder builder, int statusCode = …, string contentType = …)
WithDescriptionWithDescription(p1,p2)static TBuilder WithDescription<TBuilder>(TBuilder builder, string description)
WithSummaryWithSummary(p1,p2)static TBuilder WithSummary<TBuilder>(TBuilder builder, string summary)
WithTagsWithTags(p1,p2)static TBuilder WithTags<TBuilder>(TBuilder builder, string[] tags)
static RouteHandlerBuilder WithTags(RouteHandlerBuilder builder, string[] tags)
PathString struct

Microsoft.AspNetCore.Http.PathString · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new PathString(string value)

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

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value
HasValueboolreado.HasValue
EmptyPathStringread · statico.Empty

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])PathString Add(PathString other)
string Add(QueryString other)
EqualsEquals(p1)bool Equals(PathString other)
bool Equals(PathString other, StringComparison comparisonType)
bool Equals(object obj)
FromUriComponentFromUriComponent(p1)static PathString FromUriComponent(string uriComponent)
static PathString FromUriComponent(Uri uri)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
StartsWithSegmentsStartsWithSegments(value)
StartsWithSegments([ :other = … ])
StartsWithSegments([ :other = …, :comparisonType = … ])
StartsWithSegments([ :other = …, :remaining = … ])
StartsWithSegments([ :other = …, :comparisonType = …, :remaining = … ])
bool StartsWithSegments(PathString other)
bool StartsWithSegments(PathString other, StringComparison comparisonType)
bool StartsWithSegments(PathString other, out PathString remaining)
bool StartsWithSegments(PathString other, StringComparison comparisonType, out PathString remaining)
bool StartsWithSegments(PathString other, out PathString matched, out PathString remaining)
bool StartsWithSegments(PathString other, StringComparison comparisonType, out PathString matched, out PathString remaining)
ToStringcallMethod("ToString",[])string ToString()
ToUriComponentcallMethod("ToUriComponent",[])string ToUriComponent()
ProblemDetailsContext class sealed

Microsoft.AspNetCore.Http.ProblemDetailsContext · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new ProblemDetailsContext()

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

Properties and fields

NameTypeAccessIn Ring
HttpContextHttpContextread, writeo.HttpContext o.HttpContext = v
AdditionalMetadataEndpointMetadataCollectionread, writeo.AdditionalMetadata o.AdditionalMetadata = v
ProblemDetailsProblemDetailsread, writeo.ProblemDetails o.ProblemDetails = v
ExceptionExceptionread, writeo.Exception o.Exception = v
ProblemDetailsOptions class

Microsoft.AspNetCore.Http.ProblemDetailsOptions · assembly Microsoft.AspNetCore.Http.Extensions

Constructors

new ProblemDetailsOptions()

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

Properties and fields

NameTypeAccessIn Ring
CustomizeProblemDetailsAction<ProblemDetailsContext>read, writeo.CustomizeProblemDetails o.CustomizeProblemDetails = v
ProducesResponseTypeMetadata class sealed

Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new ProducesResponseTypeMetadata(int statusCode, Type type = …, string[] contentTypes = …)

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

Properties and fields

NameTypeAccessIn Ring
TypeTypereado.Type
StatusCodeintreado.StatusCode
ContentTypesIEnumerable<string>reado.ContentTypes

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()
QueryCollection class

Microsoft.AspNetCore.Http.QueryCollection · assembly Microsoft.AspNetCore.Http

Implements: IEnumerable

Constructors

new QueryCollection()
new QueryCollection(Dictionary<string, StringValues> store)
new QueryCollection(QueryCollection store)
new QueryCollection(int capacity)

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

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
KeysICollection<string>reado.Keys
EmptyQueryCollectionread · statico.Empty

Indexer

o.Item(string key) → StringValues

Methods

MethodRing call.NET overloads
ContainsKeycallMethod("ContainsKey",[p1])bool ContainsKey(string key)
GetEnumeratorcallMethod("GetEnumerator",[])QueryCollection.Enumerator GetEnumerator()
TryGetValueTryGetValue(p1)bool TryGetValue(string key, out StringValues value)
QueryCollectionEnumerator struct

Microsoft.AspNetCore.Http.QueryCollection+Enumerator · assembly Microsoft.AspNetCore.Http

Implements: IDisposable, IEnumerator

Properties and fields

NameTypeAccessIn Ring
CurrentKeyValuePair<string, StringValues>reado.Current

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
MoveNextcallMethod("MoveNext",[])bool MoveNext()
QueryString struct

Microsoft.AspNetCore.Http.QueryString · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new QueryString(string value)

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

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value
HasValueboolreado.HasValue
EmptyQueryStringread · statico.Empty

Methods

MethodRing call.NET overloads
AddAdd(value)
Add([ :other = … ])
Add([ :name = …, :value = … ])
QueryString Add(QueryString other)
QueryString Add(string name, string value)
CreateCreate(value)
Create([ :parameters = … ])
Create([ :name = …, :value = … ])
static QueryString Create(string name, string value)
static QueryString Create(IEnumerable<KeyValuePair<string, string>> parameters)
static QueryString Create(IEnumerable<KeyValuePair<string, StringValues>> parameters)
EqualsEquals(p1)bool Equals(QueryString other)
bool Equals(object obj)
FromUriComponentFromUriComponent(p1)static QueryString FromUriComponent(string uriComponent)
static QueryString FromUriComponent(Uri uri)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
ToUriComponentcallMethod("ToUriComponent",[])string ToUriComponent()
RequestDelegateFactory class static

Microsoft.AspNetCore.Http.RequestDelegateFactory · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
CreateCreate([ :handler = …, :options = … ])
Create([ :handler = …, :options = …, :metadataResult = … ])
Create([ :methodInfo = …, :targetFactory = …, :options = … ])
Create([ :methodInfo = …, :targetFactory = …, :options = …, :metadataResult = … ])
static RequestDelegateResult Create(Delegate handler, RequestDelegateFactoryOptions options)
static RequestDelegateResult Create(Delegate handler, RequestDelegateFactoryOptions options = …, RequestDelegateMetadataResult metadataResult = …)
static RequestDelegateResult Create(MethodInfo methodInfo, Func<HttpContext, object> targetFactory, RequestDelegateFactoryOptions options)
static RequestDelegateResult Create(MethodInfo methodInfo, Func<HttpContext, object> targetFactory = …, RequestDelegateFactoryOptions options = …, RequestDelegateMetadataResult metadataResult = …)
InferMetadataInferMetadata([ :methodInfo = …, :options = … ])static RequestDelegateMetadataResult InferMetadata(MethodInfo methodInfo, RequestDelegateFactoryOptions options = …)
RequestDelegateFactoryOptions class sealed

Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions · assembly Microsoft.AspNetCore.Http.Extensions

Constructors

new RequestDelegateFactoryOptions()

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

Properties and fields

NameTypeAccessIn Ring
ServiceProviderIServiceProviderread, writeo.ServiceProvider o.ServiceProvider = v
RouteParameterNamesIEnumerable<string>read, writeo.RouteParameterNames o.RouteParameterNames = v
ThrowOnBadRequestboolread, writeo.ThrowOnBadRequest o.ThrowOnBadRequest = v
DisableInferBodyFromParametersboolread, writeo.DisableInferBodyFromParameters o.DisableInferBodyFromParameters = v
EndpointBuilderEndpointBuilderread, writeo.EndpointBuilder o.EndpointBuilder = v
RequestDelegateMetadataResult class sealed

Microsoft.AspNetCore.Http.RequestDelegateMetadataResult · assembly Microsoft.AspNetCore.Http.Extensions

Constructors

new RequestDelegateMetadataResult()

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

Properties and fields

NameTypeAccessIn Ring
EndpointMetadataIReadOnlyList<object>read, writeo.EndpointMetadata o.EndpointMetadata = v
RequestDelegateResult class sealed

Microsoft.AspNetCore.Http.RequestDelegateResult · assembly Microsoft.AspNetCore.Http.Abstractions

Constructors

new RequestDelegateResult(RequestDelegate requestDelegate, IReadOnlyList<object> metadata)

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

Properties and fields

NameTypeAccessIn Ring
RequestDelegateRequestDelegatereado.RequestDelegate
EndpointMetadataIReadOnlyList<object>reado.EndpointMetadata
RequestFormReaderExtensions class static

Microsoft.AspNetCore.Http.RequestFormReaderExtensions · assembly Microsoft.AspNetCore.Http

Methods

MethodRing call.NET overloads
ReadFormAsyncReadFormAsync([ :request = …, :options = …, :cancellationToken = … ])static Task<IFormCollection> ReadFormAsync(HttpRequest request, FormOptions options, CancellationToken cancellationToken = …)
RequestTrailerExtensions class static

Microsoft.AspNetCore.Http.RequestTrailerExtensions · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
CheckTrailersAvailableCheckTrailersAvailable(p1)static bool CheckTrailersAvailable(HttpRequest request)
GetDeclaredTrailersGetDeclaredTrailers(p1)static StringValues GetDeclaredTrailers(HttpRequest request)
GetTrailerGetTrailer(p1,p2)static StringValues GetTrailer(HttpRequest request, string trailerName)
SupportsTrailersSupportsTrailers(p1)static bool SupportsTrailers(HttpRequest request)
ResponseExtensions class static

Microsoft.AspNetCore.Http.ResponseExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
ClearClear(p1)static void Clear(HttpResponse response)
RedirectRedirect(p1,p2,p3,p4)static void Redirect(HttpResponse response, string location, bool permanent, bool preserveMethod)
ResponseTrailerExtensions class static

Microsoft.AspNetCore.Http.ResponseTrailerExtensions · assembly Microsoft.AspNetCore.Http.Abstractions

Methods

MethodRing call.NET overloads
AppendTrailerAppendTrailer(p1,p2,p3)static void AppendTrailer(HttpResponse response, string trailerName, StringValues trailerValues)
DeclareTrailerDeclareTrailer(p1,p2)static void DeclareTrailer(HttpResponse response, string trailerName)
SupportsTrailersSupportsTrailers(p1)static bool SupportsTrailers(HttpResponse response)
Results class static

Microsoft.AspNetCore.Http.Results · assembly Microsoft.AspNetCore.Http.Results

Properties and fields

NameTypeAccessIn Ring
EmptyIResultread · statico.Empty
ExtensionsIResultExtensionsread · statico.Extensions

Methods

MethodRing call.NET overloads
AcceptedAccepted([ :uri = …, :value = … ])static IResult Accepted(string uri = …, object value = …)
static IResult Accepted<TValue>(string uri = …, TValue value = …)
AcceptedAtRouteAcceptedAtRoute([ :routeName = …, :routeValues = …, :value = … ])static IResult AcceptedAtRoute(string routeName = …, object routeValues = …, object value = …)
static IResult AcceptedAtRoute(string routeName, RouteValueDictionary routeValues, object value = …)
static IResult AcceptedAtRoute<TValue>(string routeName = …, object routeValues = …, TValue value = …)
static IResult AcceptedAtRoute<TValue>(string routeName, RouteValueDictionary routeValues, TValue value = …)
BadRequestBadRequest(value)
BadRequest([ :error = … ])
static IResult BadRequest(object error = …)
static IResult BadRequest<TValue>(TValue error)
BytesBytes([ :contents = …, :contentType = …, :fileDownloadName = …, :enableRangeProcessing = …, :lastModified = …, :entityTag = … ])static IResult Bytes(byte[] contents, string contentType = …, string fileDownloadName = …, bool enableRangeProcessing = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
static IResult Bytes(ReadOnlyMemory<byte> contents, string contentType = …, string fileDownloadName = …, bool enableRangeProcessing = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
ChallengeChallenge([ :properties = …, :authenticationSchemes = … ])static IResult Challenge(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …)
ConflictConflict(value)
Conflict([ :error = … ])
static IResult Conflict(object error = …)
static IResult Conflict<TValue>(TValue error)
ContentContent([ :content = …, :contentType = … ])
Content([ :content = …, :contentType = …, :contentEncoding = … ])
Content([ :content = …, :contentType = …, :contentEncoding = …, :statusCode = … ])
static IResult Content(string content, string contentType, Encoding contentEncoding)
static IResult Content(string content, string contentType = …, Encoding contentEncoding = …, int? statusCode = …)
static IResult Content(string content, MediaTypeHeaderValue contentType)
CreatedCreated(NULL)
Created([ :uri = …, :value = … ])
static IResult Created()
static IResult Created(string uri, object value)
static IResult Created<TValue>(string uri, TValue value)
static IResult Created(Uri uri, object value)
static IResult Created<TValue>(Uri uri, TValue value)
CreatedAtRouteCreatedAtRoute([ :routeName = …, :routeValues = …, :value = … ])static IResult CreatedAtRoute(string routeName = …, object routeValues = …, object value = …)
static IResult CreatedAtRoute(string routeName, RouteValueDictionary routeValues, object value = …)
static IResult CreatedAtRoute<TValue>(string routeName = …, object routeValues = …, TValue value = …)
static IResult CreatedAtRoute<TValue>(string routeName, RouteValueDictionary routeValues, TValue value = …)
FileFile([ :fileContents = …, :contentType = …, :fileDownloadName = …, :enableRangeProcessing = …, :lastModified = …, :entityTag = … ])
File([ :fileStream = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])
File([ :path = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])
static IResult File(byte[] fileContents, string contentType = …, string fileDownloadName = …, bool enableRangeProcessing = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
static IResult File(Stream fileStream, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
static IResult File(string path, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
ForbidForbid([ :properties = …, :authenticationSchemes = … ])static IResult Forbid(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …)
InternalServerErrorInternalServerError(NULL)
InternalServerError(value)
InternalServerError([ :error = … ])
static IResult InternalServerError()
static IResult InternalServerError<TValue>(TValue error)
JsonJson([ :data = …, :options = …, :contentType = …, :statusCode = … ])
Json([ :data = …, :jsonTypeInfo = …, :contentType = …, :statusCode = … ])
Json([ :data = …, :context = …, :contentType = …, :statusCode = … ])
Json([ :data = …, :type = …, :context = …, :contentType = …, :statusCode = … ])
static IResult Json(object data, JsonSerializerOptions options = …, string contentType = …, int? statusCode = …)
static IResult Json(object data, JsonTypeInfo jsonTypeInfo, string contentType = …, int? statusCode = …)
static IResult Json(object data, Type type, JsonSerializerContext context, string contentType = …, int? statusCode = …)
static IResult Json<TValue>(TValue data, JsonSerializerOptions options = …, string contentType = …, int? statusCode = …)
static IResult Json<TValue>(TValue data, JsonTypeInfo<TValue> jsonTypeInfo, string contentType = …, int? statusCode = …)
static IResult Json<TValue>(TValue data, JsonSerializerContext context, string contentType = …, int? statusCode = …)
LocalRedirectLocalRedirect([ :localUrl = …, :permanent = …, :preserveMethod = … ])static IResult LocalRedirect(string localUrl, bool permanent = …, bool preserveMethod = …)
NoContentNoContent()static IResult NoContent()
NotFoundNotFound(value)
NotFound([ :value = … ])
static IResult NotFound(object value = …)
static IResult NotFound<TValue>(TValue value)
OkOk(value)
Ok([ :value = … ])
static IResult Ok(object value = …)
static IResult Ok<TValue>(TValue value)
ProblemProblem(value)
Problem([ :problemDetails = … ])
Problem([ :detail = …, :instance = …, :statusCode = …, :title = …, :type = …, :extensions = … ])
static IResult Problem(string detail, string instance, int? statusCode, string title, string type, IDictionary<string, object> extensions)
static IResult Problem(string detail = …, string instance = …, int? statusCode = …, string title = …, string type = …, IEnumerable<KeyValuePair<string, object>> extensions = …)
static IResult Problem(ProblemDetails problemDetails)
RedirectRedirect([ :url = …, :permanent = …, :preserveMethod = … ])static IResult Redirect(string url, bool permanent = …, bool preserveMethod = …)
RedirectToRouteRedirectToRoute([ :routeName = …, :routeValues = …, :permanent = …, :preserveMethod = …, :fragment = … ])static IResult RedirectToRoute(string routeName = …, object routeValues = …, bool permanent = …, bool preserveMethod = …, string fragment = …)
static IResult RedirectToRoute(string routeName, RouteValueDictionary routeValues, bool permanent = …, bool preserveMethod = …, string fragment = …)
SignInSignIn([ :principal = …, :properties = …, :authenticationScheme = … ])static IResult SignIn(ClaimsPrincipal principal, AuthenticationProperties properties = …, string authenticationScheme = …)
SignOutSignOut([ :properties = …, :authenticationSchemes = … ])static IResult SignOut(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …)
StatusCodeStatusCode(p1)static IResult StatusCode(int statusCode)
StreamStream([ :streamWriterCallback = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = … ])
Stream([ :stream = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])
Stream([ :pipeReader = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])
static IResult Stream(Stream stream, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
static IResult Stream(PipeReader pipeReader, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
static IResult Stream(Func<Stream, Task> streamWriterCallback, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
TextText([ :content = …, :contentType = …, :contentEncoding = … ])
Text([ :utf8Content = …, :contentType = …, :statusCode = … ])
Text([ :content = …, :contentType = …, :contentEncoding = …, :statusCode = … ])
static IResult Text(string content, string contentType, Encoding contentEncoding)
static IResult Text(string content, string contentType = …, Encoding contentEncoding = …, int? statusCode = …)
static IResult Text(ReadOnlySpan<byte> utf8Content, string contentType = …, int? statusCode = …)
UnauthorizedUnauthorized()static IResult Unauthorized()
UnprocessableEntityUnprocessableEntity(value)
UnprocessableEntity([ :error = … ])
static IResult UnprocessableEntity(object error = …)
static IResult UnprocessableEntity<TValue>(TValue error)
ValidationProblemValidationProblem([ :errors = …, :detail = …, :instance = …, :statusCode = …, :title = …, :type = …, :extensions = … ])static IResult ValidationProblem(IDictionary<string, string[]> errors, string detail, string instance, int? statusCode, string title, string type, IDictionary<string, object> extensions)
static IResult ValidationProblem(IEnumerable<KeyValuePair<string, string[]>> errors, string detail = …, string instance = …, int? statusCode = …, string title = …, string type = …, IEnumerable<KeyValuePair<string, object>> extensions = …)
SendFileFallback class static

Microsoft.AspNetCore.Http.SendFileFallback · assembly Microsoft.AspNetCore.Http

Methods

MethodRing call.NET overloads
SendFileAsyncSendFileAsync(p1,p2,p3,p4,p5)static Task SendFileAsync(Stream destination, string filePath, long offset, long? count, CancellationToken cancellationToken)
SendFileResponseExtensions class static

Microsoft.AspNetCore.Http.SendFileResponseExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
SendFileAsyncSendFileAsync([ :response = …, :file = …, :cancellationToken = … ])
SendFileAsync([ :response = …, :fileName = …, :cancellationToken = … ])
SendFileAsync([ :response = …, :file = …, :offset = …, :count = …, :cancellationToken = … ])
SendFileAsync([ :response = …, :fileName = …, :offset = …, :count = …, :cancellationToken = … ])
static Task SendFileAsync(HttpResponse response, IFileInfo file, CancellationToken cancellationToken = …)
static Task SendFileAsync(HttpResponse response, IFileInfo file, long offset, long? count, CancellationToken cancellationToken = …)
static Task SendFileAsync(HttpResponse response, string fileName, CancellationToken cancellationToken = …)
static Task SendFileAsync(HttpResponse response, string fileName, long offset, long? count, CancellationToken cancellationToken = …)
SessionExtensions class static

Microsoft.AspNetCore.Http.SessionExtensions · assembly Microsoft.AspNetCore.Http.Extensions

Methods

MethodRing call.NET overloads
Get@Get(p1,p2)static byte[] Get(ISession session, string key)
GetInt32GetInt32(p1,p2)static int? GetInt32(ISession session, string key)
GetStringGetString(p1,p2)static string GetString(ISession session, string key)
SetInt32SetInt32(p1,p2,p3)static void SetInt32(ISession session, string key, int value)
SetStringSetString(p1,p2,p3)static void SetString(ISession session, string key, string value)
StatusCodes class static

Microsoft.AspNetCore.Http.StatusCodes · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
Status100Continueintconstant · statico.Status100Continue
Status101SwitchingProtocolsintconstant · statico.Status101SwitchingProtocols
Status102Processingintconstant · statico.Status102Processing
Status200OKintconstant · statico.Status200OK
Status201Createdintconstant · statico.Status201Created
Status202Acceptedintconstant · statico.Status202Accepted
Status203NonAuthoritativeintconstant · statico.Status203NonAuthoritative
Status204NoContentintconstant · statico.Status204NoContent
Status205ResetContentintconstant · statico.Status205ResetContent
Status206PartialContentintconstant · statico.Status206PartialContent
Status207MultiStatusintconstant · statico.Status207MultiStatus
Status208AlreadyReportedintconstant · statico.Status208AlreadyReported
Status226IMUsedintconstant · statico.Status226IMUsed
Status300MultipleChoicesintconstant · statico.Status300MultipleChoices
Status301MovedPermanentlyintconstant · statico.Status301MovedPermanently
Status302Foundintconstant · statico.Status302Found
Status303SeeOtherintconstant · statico.Status303SeeOther
Status304NotModifiedintconstant · statico.Status304NotModified
Status305UseProxyintconstant · statico.Status305UseProxy
Status306SwitchProxyintconstant · statico.Status306SwitchProxy
Status307TemporaryRedirectintconstant · statico.Status307TemporaryRedirect
Status308PermanentRedirectintconstant · statico.Status308PermanentRedirect
Status400BadRequestintconstant · statico.Status400BadRequest
Status401Unauthorizedintconstant · statico.Status401Unauthorized
Status402PaymentRequiredintconstant · statico.Status402PaymentRequired
Status403Forbiddenintconstant · statico.Status403Forbidden
Status404NotFoundintconstant · statico.Status404NotFound
Status405MethodNotAllowedintconstant · statico.Status405MethodNotAllowed
Status406NotAcceptableintconstant · statico.Status406NotAcceptable
Status407ProxyAuthenticationRequiredintconstant · statico.Status407ProxyAuthenticationRequired
Status408RequestTimeoutintconstant · statico.Status408RequestTimeout
Status409Conflictintconstant · statico.Status409Conflict
Status410Goneintconstant · statico.Status410Gone
Status411LengthRequiredintconstant · statico.Status411LengthRequired
Status412PreconditionFailedintconstant · statico.Status412PreconditionFailed
Status413RequestEntityTooLargeintconstant · statico.Status413RequestEntityTooLarge
Status413PayloadTooLargeintconstant · statico.Status413PayloadTooLarge
Status414RequestUriTooLongintconstant · statico.Status414RequestUriTooLong
Status414UriTooLongintconstant · statico.Status414UriTooLong
Status415UnsupportedMediaTypeintconstant · statico.Status415UnsupportedMediaType
Status416RequestedRangeNotSatisfiableintconstant · statico.Status416RequestedRangeNotSatisfiable
Status416RangeNotSatisfiableintconstant · statico.Status416RangeNotSatisfiable
Status417ExpectationFailedintconstant · statico.Status417ExpectationFailed
Status418ImATeapotintconstant · statico.Status418ImATeapot
Status419AuthenticationTimeoutintconstant · statico.Status419AuthenticationTimeout
Status421MisdirectedRequestintconstant · statico.Status421MisdirectedRequest
Status422UnprocessableEntityintconstant · statico.Status422UnprocessableEntity
Status423Lockedintconstant · statico.Status423Locked
Status424FailedDependencyintconstant · statico.Status424FailedDependency
Status426UpgradeRequiredintconstant · statico.Status426UpgradeRequired
Status428PreconditionRequiredintconstant · statico.Status428PreconditionRequired
Status429TooManyRequestsintconstant · statico.Status429TooManyRequests
Status431RequestHeaderFieldsTooLargeintconstant · statico.Status431RequestHeaderFieldsTooLarge
Status451UnavailableForLegalReasonsintconstant · statico.Status451UnavailableForLegalReasons
Status499ClientClosedRequestintconstant · statico.Status499ClientClosedRequest
Status500InternalServerErrorintconstant · statico.Status500InternalServerError
Status501NotImplementedintconstant · statico.Status501NotImplemented
Status502BadGatewayintconstant · statico.Status502BadGateway
Status503ServiceUnavailableintconstant · statico.Status503ServiceUnavailable
Status504GatewayTimeoutintconstant · statico.Status504GatewayTimeout
Status505HttpVersionNotsupportedintconstant · statico.Status505HttpVersionNotsupported
Status506VariantAlsoNegotiatesintconstant · statico.Status506VariantAlsoNegotiates
Status507InsufficientStorageintconstant · statico.Status507InsufficientStorage
Status508LoopDetectedintconstant · statico.Status508LoopDetected
Status510NotExtendedintconstant · statico.Status510NotExtended
Status511NetworkAuthenticationRequiredintconstant · statico.Status511NetworkAuthenticationRequired
StreamResponseBodyFeature class

Microsoft.AspNetCore.Http.StreamResponseBodyFeature · assembly Microsoft.AspNetCore.Http

Constructors

new StreamResponseBodyFeature(Stream stream)
new StreamResponseBodyFeature(Stream stream, IHttpResponseBodyFeature priorFeature)

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

Properties and fields

NameTypeAccessIn Ring
StreamStreamreado.Stream
PriorFeatureIHttpResponseBodyFeaturereado.PriorFeature
WriterPipeWriterreado.Writer

Methods

MethodRing call.NET overloads
CompleteAsynccallMethod("CompleteAsync",[])Task CompleteAsync()
DisableBufferingcallMethod("DisableBuffering",[])void DisableBuffering()
DisposecallMethod("Dispose",[])void Dispose()
SendFileAsynccallMethod("SendFileAsync",[p1,p2,p3,p4])Task SendFileAsync(string path, long offset, long? count, CancellationToken cancellationToken)
StartAsyncStartAsync(value)
StartAsync([ :cancellationToken = … ])
Task StartAsync(CancellationToken cancellationToken = …)
TagsAttribute class sealed · extends Attribute

Microsoft.AspNetCore.Http.TagsAttribute · assembly Microsoft.AspNetCore.Http.Extensions

Constructors

new TagsAttribute(string[] tags)

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

Properties and fields

NameTypeAccessIn Ring
TagsIReadOnlyList<string>reado.Tags

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

TypedResults class static

Microsoft.AspNetCore.Http.TypedResults · assembly Microsoft.AspNetCore.Http.Results

Properties and fields

NameTypeAccessIn Ring
EmptyEmptyHttpResultread · statico.Empty
ExtensionsIResultExtensionsread · statico.Extensions

Methods

MethodRing call.NET overloads
AcceptedAccepted(value)
Accepted([ :uri = … ])
Accepted([ :uri = …, :value = … ])
static Accepted Accepted(string uri)
static Accepted<TValue> Accepted<TValue>(string uri, TValue value)
static Accepted Accepted(Uri uri)
static Accepted<TValue> Accepted<TValue>(Uri uri, TValue value)
AcceptedAtRouteAcceptedAtRoute([ :routeName = …, :routeValues = … ])
AcceptedAtRoute([ :value = …, :routeName = …, :routeValues = … ])
static AcceptedAtRoute AcceptedAtRoute(string routeName = …, object routeValues = …)
static AcceptedAtRoute AcceptedAtRoute(string routeName, RouteValueDictionary routeValues)
static AcceptedAtRoute<TValue> AcceptedAtRoute<TValue>(TValue value, string routeName = …, object routeValues = …)
static AcceptedAtRoute<TValue> AcceptedAtRoute<TValue>(TValue value, string routeName, RouteValueDictionary routeValues)
BadRequestBadRequest(NULL)
BadRequest(value)
BadRequest([ :error = … ])
static BadRequest BadRequest()
static BadRequest<TValue> BadRequest<TValue>(TValue error)
BytesBytes([ :contents = …, :contentType = …, :fileDownloadName = …, :enableRangeProcessing = …, :lastModified = …, :entityTag = … ])static FileContentHttpResult Bytes(byte[] contents, string contentType = …, string fileDownloadName = …, bool enableRangeProcessing = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
static FileContentHttpResult Bytes(ReadOnlyMemory<byte> contents, string contentType = …, string fileDownloadName = …, bool enableRangeProcessing = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
ChallengeChallenge([ :properties = …, :authenticationSchemes = … ])static ChallengeHttpResult Challenge(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …)
ConflictConflict(NULL)
Conflict(value)
Conflict([ :error = … ])
static Conflict Conflict()
static Conflict<TValue> Conflict<TValue>(TValue error)
ContentContent([ :content = …, :contentType = … ])
Content([ :content = …, :contentType = …, :contentEncoding = … ])
Content([ :content = …, :contentType = …, :contentEncoding = …, :statusCode = … ])
static ContentHttpResult Content(string content, string contentType, Encoding contentEncoding)
static ContentHttpResult Content(string content, string contentType = …, Encoding contentEncoding = …, int? statusCode = …)
static ContentHttpResult Content(string content, MediaTypeHeaderValue contentType)
CreatedCreated(NULL)
Created(value)
Created([ :uri = … ])
Created([ :uri = …, :value = … ])
static Created Created()
static Created Created(string uri)
static Created<TValue> Created<TValue>(string uri, TValue value)
static Created Created(Uri uri)
static Created<TValue> Created<TValue>(Uri uri, TValue value)
CreatedAtRouteCreatedAtRoute([ :routeName = …, :routeValues = … ])
CreatedAtRoute([ :value = …, :routeName = …, :routeValues = … ])
static CreatedAtRoute CreatedAtRoute(string routeName = …, object routeValues = …)
static CreatedAtRoute CreatedAtRoute(string routeName, RouteValueDictionary routeValues)
static CreatedAtRoute<TValue> CreatedAtRoute<TValue>(TValue value, string routeName = …, object routeValues = …)
static CreatedAtRoute<TValue> CreatedAtRoute<TValue>(TValue value, string routeName, RouteValueDictionary routeValues)
FileFile([ :fileContents = …, :contentType = …, :fileDownloadName = …, :enableRangeProcessing = …, :lastModified = …, :entityTag = … ])
File([ :fileStream = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])
static FileContentHttpResult File(byte[] fileContents, string contentType = …, string fileDownloadName = …, bool enableRangeProcessing = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
static FileStreamHttpResult File(Stream fileStream, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
ForbidForbid([ :properties = …, :authenticationSchemes = … ])static ForbidHttpResult Forbid(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …)
InternalServerErrorInternalServerError(NULL)
InternalServerError(value)
InternalServerError([ :error = … ])
static InternalServerError InternalServerError()
static InternalServerError<TValue> InternalServerError<TValue>(TValue error)
JsonJson([ :data = …, :options = …, :contentType = …, :statusCode = … ])
Json([ :data = …, :jsonTypeInfo = …, :contentType = …, :statusCode = … ])
Json([ :data = …, :context = …, :contentType = …, :statusCode = … ])
static JsonHttpResult<TValue> Json<TValue>(TValue data, JsonSerializerOptions options = …, string contentType = …, int? statusCode = …)
static JsonHttpResult<TValue> Json<TValue>(TValue data, JsonTypeInfo<TValue> jsonTypeInfo, string contentType = …, int? statusCode = …)
static JsonHttpResult<TValue> Json<TValue>(TValue data, JsonSerializerContext context, string contentType = …, int? statusCode = …)
LocalRedirectLocalRedirect([ :localUrl = …, :permanent = …, :preserveMethod = … ])static RedirectHttpResult LocalRedirect(string localUrl, bool permanent = …, bool preserveMethod = …)
NoContentNoContent()static NoContent NoContent()
NotFoundNotFound(NULL)
NotFound(value)
NotFound([ :value = … ])
static NotFound NotFound()
static NotFound<TValue> NotFound<TValue>(TValue value)
OkOk(NULL)
Ok(value)
Ok([ :value = … ])
static Ok Ok()
static Ok<TValue> Ok<TValue>(TValue value)
PhysicalFilePhysicalFile([ :path = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])static PhysicalFileHttpResult PhysicalFile(string path, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
ProblemProblem(value)
Problem([ :problemDetails = … ])
Problem([ :detail = …, :instance = …, :statusCode = …, :title = …, :type = …, :extensions = … ])
static ProblemHttpResult Problem(string detail, string instance, int? statusCode, string title, string type, IDictionary<string, object> extensions)
static ProblemHttpResult Problem(string detail = …, string instance = …, int? statusCode = …, string title = …, string type = …, IEnumerable<KeyValuePair<string, object>> extensions = …)
static ProblemHttpResult Problem(ProblemDetails problemDetails)
RedirectRedirect([ :url = …, :permanent = …, :preserveMethod = … ])static RedirectHttpResult Redirect(string url, bool permanent = …, bool preserveMethod = …)
RedirectToRouteRedirectToRoute([ :routeName = …, :routeValues = …, :permanent = …, :preserveMethod = …, :fragment = … ])static RedirectToRouteHttpResult RedirectToRoute(string routeName = …, object routeValues = …, bool permanent = …, bool preserveMethod = …, string fragment = …)
static RedirectToRouteHttpResult RedirectToRoute(string routeName, RouteValueDictionary routeValues, bool permanent = …, bool preserveMethod = …, string fragment = …)
SignInSignIn([ :principal = …, :properties = …, :authenticationScheme = … ])static SignInHttpResult SignIn(ClaimsPrincipal principal, AuthenticationProperties properties = …, string authenticationScheme = …)
SignOutSignOut([ :properties = …, :authenticationSchemes = … ])static SignOutHttpResult SignOut(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …)
StatusCodeStatusCode(p1)static StatusCodeHttpResult StatusCode(int statusCode)
StreamStream([ :streamWriterCallback = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = … ])
Stream([ :stream = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])
Stream([ :pipeReader = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])
static FileStreamHttpResult Stream(Stream stream, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
static FileStreamHttpResult Stream(PipeReader pipeReader, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
static PushStreamHttpResult Stream(Func<Stream, Task> streamWriterCallback, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …)
TextText([ :content = …, :contentType = …, :contentEncoding = … ])
Text([ :utf8Content = …, :contentType = …, :statusCode = … ])
Text([ :content = …, :contentType = …, :contentEncoding = …, :statusCode = … ])
static ContentHttpResult Text(string content, string contentType, Encoding contentEncoding)
static Utf8ContentHttpResult Text(ReadOnlySpan<byte> utf8Content, string contentType = …, int? statusCode = …)
static ContentHttpResult Text(string content, string contentType = …, Encoding contentEncoding = …, int? statusCode = …)
UnauthorizedUnauthorized()static UnauthorizedHttpResult Unauthorized()
UnprocessableEntityUnprocessableEntity(NULL)
UnprocessableEntity(value)
UnprocessableEntity([ :error = … ])
static UnprocessableEntity UnprocessableEntity()
static UnprocessableEntity<TValue> UnprocessableEntity<TValue>(TValue error)
ValidationProblemValidationProblem([ :errors = …, :detail = …, :instance = …, :title = …, :type = …, :extensions = … ])static ValidationProblem ValidationProblem(IDictionary<string, string[]> errors, string detail, string instance, string title, string type, IDictionary<string, object> extensions)
static ValidationProblem ValidationProblem(IEnumerable<KeyValuePair<string, string[]>> errors, string detail = …, string instance = …, string title = …, string type = …, IEnumerable<KeyValuePair<string, object>> extensions = …)
VirtualFileVirtualFile([ :path = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ])static VirtualFileHttpResult VirtualFile(string path, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …)
WebSocketAcceptContext class

Microsoft.AspNetCore.Http.WebSocketAcceptContext · assembly Microsoft.AspNetCore.Http.Features

Constructors

new WebSocketAcceptContext()

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

Properties and fields

NameTypeAccessIn Ring
SubProtocolstringread, writeo.SubProtocol o.SubProtocol = v
KeepAliveIntervalTimeSpan?read, writeo.KeepAliveInterval o.KeepAliveInterval = v
KeepAliveTimeoutTimeSpan?read, writeo.KeepAliveTimeout o.KeepAliveTimeout = v
DangerousEnableCompressionboolread, writeo.DangerousEnableCompression o.DangerousEnableCompression = v
DisableServerContextTakeoverboolread, writeo.DisableServerContextTakeover o.DisableServerContextTakeover = v
ServerMaxWindowBitsintread, writeo.ServerMaxWindowBits o.ServerMaxWindowBits = v
WebSocketManager class abstract

Microsoft.AspNetCore.Http.WebSocketManager · assembly Microsoft.AspNetCore.Http.Abstractions

Properties and fields

NameTypeAccessIn Ring
IsWebSocketRequestboolreado.IsWebSocketRequest
WebSocketRequestedProtocolsIList<string>reado.WebSocketRequestedProtocols

Methods

MethodRing call.NET overloads
AcceptWebSocketAsyncAcceptWebSocketAsync(NULL)
AcceptWebSocketAsync(value)
AcceptWebSocketAsync([ :subProtocol = … ])
AcceptWebSocketAsync([ :acceptContext = … ])
Task<WebSocket> AcceptWebSocketAsync()
Task<WebSocket> AcceptWebSocketAsync(string subProtocol)
Task<WebSocket> AcceptWebSocketAsync(WebSocketAcceptContext acceptContext)