Microsoft.AspNetCore.Http
92 wrapped types. Load them with using { "Microsoft.AspNetCore.Http" }. Click a class to open it.
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
| Name | Type | Access | In Ring |
|---|---|---|---|
DisplayName | string | read | o.DisplayName |
Metadata | EndpointMetadataCollection | read | o.Metadata |
RequestDelegate | RequestDelegate | read | o.RequestDelegate |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Files | IFormFileCollection | read | o.Files |
Count | int | read | o.Count |
Keys | ICollection<string> | read | o.Keys |
Empty | FormCollection | read · static | o.Empty |
Indexer
o.Item(string key) → StringValues
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string key) |
GetEnumerator | callMethod("GetEnumerator",[]) | FormCollection.Enumerator GetEnumerator() |
TryGetValue | TryGetValue(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
| Name | Type | Access | In Ring |
|---|---|---|---|
StatusCode | int | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Host | string | read | o.Host |
PathBase | string | read | o.PathBase |
Port | int | read | o.Port |
Scheme | string | read | o.Scheme |
IsUnixPipe | bool | read | o.IsUnixPipe |
IsNamedPipe | bool | read | o.IsNamedPipe |
UnixPipePath | string | read | o.UnixPipePath |
NamedPipeName | string | read | o.NamedPipeName |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Parse | Parse(p1) | static BindingAddress Parse(string address) |
ToString | callMethod("ToString",[]) | string ToString() |
ConnectionInfo class abstract
Microsoft.AspNetCore.Http.ConnectionInfo · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Id | string | read, write | o.Id o.Id = v |
RemoteIpAddress | IPAddress | read, write | o.RemoteIpAddress o.RemoteIpAddress = v |
RemotePort | int | read, write | o.RemotePort o.RemotePort = v |
LocalIpAddress | IPAddress | read, write | o.LocalIpAddress o.LocalIpAddress = v |
LocalPort | int | read, write | o.LocalPort o.LocalPort = v |
ClientCertificate | X509Certificate2 | read, write | o.ClientCertificate o.ClientCertificate = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetClientCertificateAsync | GetClientCertificateAsync(value)GetClientCertificateAsync([ :cancellationToken = … ]) | Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken = …) |
RequestClose | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read, write | o.Name o.Name = v |
Path | string | read, write | o.Path o.Path = v |
Domain | string | read, write | o.Domain o.Domain = v |
HttpOnly | bool | read, write | o.HttpOnly o.HttpOnly = v |
SameSite | SameSiteMode | read, write | o.SameSite o.SameSite = v |
SecurePolicy | CookieSecurePolicy | read, write | o.SecurePolicy o.SecurePolicy = v |
Expiration | TimeSpan? | read, write | o.Expiration o.Expiration = v |
MaxAge | TimeSpan? | read, write | o.MaxAge o.MaxAge = v |
IsEssential | bool | read, write | o.IsEssential o.IsEssential = v |
Extensions | IList<string> | read | o.Extensions |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | Build(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Domain | string | read, write | o.Domain o.Domain = v |
Path | string | read, write | o.Path o.Path = v |
Expires | DateTimeOffset? | read, write | o.Expires o.Expires = v |
Secure | bool | read, write | o.Secure o.Secure = v |
SameSite | SameSiteMode | read, write | o.SameSite o.SameSite = v |
HttpOnly | bool | read, write | o.HttpOnly o.HttpOnly = v |
MaxAge | TimeSpan? | read, write | o.MaxAge o.MaxAge = v |
IsEssential | bool | read, write | o.IsEssential o.IsEssential = v |
Extensions | IList<string> | read | o.Extensions |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateCookieHeader | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpContext | HttpContext | read | o.getHttpContext() |
Arguments | IList<object> | read | o.getArguments() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetArgument | GetArgument(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
| Name | Type | Access | In Ring |
|---|---|---|---|
FormOptions | FormOptions | read, write | o.FormOptions o.FormOptions = v |
ServiceScopeFactory | IServiceScopeFactory | read, write | o.ServiceScopeFactory o.ServiceScopeFactory = v |
Features | IFeatureCollection | read | o.getFeatures() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Connection | ConnectionInfo | read | o.getConnection() |
WebSockets | WebSocketManager | read | o.getWebSockets() |
User | ClaimsPrincipal | read, write | o.getUser() o.setUser(v) |
Items | IDictionary<object, object> | read, write | o.getItems() o.setItems(v) |
RequestServices | IServiceProvider | read, write | o.getRequestServices() o.setRequestServices(v) |
RequestAborted | CancellationToken | read, write | o.getRequestAborted() o.setRequestAborted(v) |
TraceIdentifier | string | read, write | o.getTraceIdentifier() o.setTraceIdentifier(v) |
Session | ISession | read, write | o.getSession() o.setSession(v) |
HttpContext | HttpContext | read | o.HttpContext |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Abort | callMethod("Abort",[]) | void Abort() |
Initialize | Initialize(p1) | void Initialize(IFeatureCollection features) |
Uninitialize | callMethod("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
| Method | Ring call | .NET overloads |
|---|---|---|
Create | callMethod("Create",[p1]) | HttpContext Create(IFeatureCollection featureCollection) |
Dispose | Dispose(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
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Description | string | read | o.Description |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
Members of the base class are inherited.
EndpointFilterExtensions class static
Microsoft.AspNetCore.Http.EndpointFilterExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddEndpointFilter | AddEndpointFilter(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) |
AddEndpointFilterFactory | AddEndpointFilterFactory(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
| Name | Type | Access | In Ring |
|---|---|---|---|
MethodInfo | MethodInfo | read, write | o.MethodInfo o.MethodInfo = v |
ApplicationServices | IServiceProvider | read, write | o.ApplicationServices o.ApplicationServices = v |
EndpointFilterInvocationContext class abstract
Microsoft.AspNetCore.Http.EndpointFilterInvocationContext · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpContext | HttpContext | read | o.HttpContext |
Arguments | IList<object> | read | o.Arguments |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create(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) |
GetArgument | GetArgument(value)GetArgument([ :index = … ]) | T GetArgument<T>(int index) |
EndpointHttpContextExtensions class static
Microsoft.AspNetCore.Http.EndpointHttpContextExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetEndpoint | GetEndpoint(p1) | static Endpoint GetEndpoint(HttpContext context) |
SetEndpoint | SetEndpoint(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Empty | EndpointMetadataCollection | read · static | o.Empty |
Indexer
o.Item(int index) → object
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetEnumerator | callMethod("GetEnumerator",[]) | EndpointMetadataCollection.Enumerator GetEnumerator() |
GetMetadata | GetMetadata(NULL) | T GetMetadata<T>() |
GetOrderedMetadata | GetOrderedMetadata(NULL) | IReadOnlyList<T> GetOrderedMetadata<T>() |
GetRequiredMetadata | GetRequiredMetadata(NULL) | T GetRequiredMetadata<T>() |
EndpointMetadataCollectionEnumerator struct
Microsoft.AspNetCore.Http.EndpointMetadataCollection+Enumerator · assembly Microsoft.AspNetCore.Http.Abstractions
Implements: IDisposable, IEnumerator
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | object | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
Reset | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Summary | string | read | o.Summary |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | KeyValuePair<string, StringValues> | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
MoveNext | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentDisposition | string | read, write | o.ContentDisposition o.ContentDisposition = v |
ContentType | string | read, write | o.ContentType o.ContentType = v |
Headers | IHeaderDictionary | read, write | o.Headers o.Headers = v |
Length | long | read | o.Length |
Name | string | read | o.Name |
FileName | string | read | o.FileName |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyTo | CopyTo(p1) | void CopyTo(Stream target) |
CopyToAsync | CopyToAsync([ :target = …, :cancellationToken = … ]) | Task CopyToAsync(Stream target, CancellationToken cancellationToken = …) |
OpenReadStream | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Capacity | int | read, write | o.getCapacity() o.setCapacity(v) |
Count | int | read | o.getCount() |
Indexer
o.Item(string name) → IFormFile
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1]) | void Add(IFormFile item) |
AddRange | AddRange(p1) | void AddRange(IEnumerable<IFormFile> collection) |
AsReadOnly | callMethod("AsReadOnly",[]) | ReadOnlyCollection<IFormFile> AsReadOnly() |
BinarySearch | callMethod("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) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | callMethod("Contains",[p1]) | bool Contains(IFormFile item) |
ConvertAll | callMethod("ConvertAll",[p1]) | List<TOutput> ConvertAll<TOutput>(Converter<IFormFile, TOutput> converter) |
CopyTo | callMethod("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) |
EnsureCapacity | callMethod("EnsureCapacity",[p1]) | int EnsureCapacity(int capacity) |
Exists | Exists(p1) | bool Exists(Predicate<IFormFile> match) |
Find | callMethod("Find",[p1]) | IFormFile Find(Predicate<IFormFile> match) |
FindAll | callMethod("FindAll",[p1]) | List<IFormFile> FindAll(Predicate<IFormFile> match) |
FindIndex | callMethod("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) |
FindLast | callMethod("FindLast",[p1]) | IFormFile FindLast(Predicate<IFormFile> match) |
FindLastIndex | callMethod("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) |
GetEnumerator | callMethod("GetEnumerator",[]) | Enumerator<IFormFile> GetEnumerator() |
GetFile | callMethod("GetFile",[p1]) | IFormFile GetFile(string name) |
GetFiles | callMethod("GetFiles",[p1]) | IReadOnlyList<IFormFile> GetFiles(string name) |
GetRange | callMethod("GetRange",[p1,p2]) | List<IFormFile> GetRange(int index, int count) |
IndexOf | callMethod("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) |
Insert | callMethod("Insert",[p1,p2]) | void Insert(int index, IFormFile item) |
InsertRange | InsertRange(p1,p2) | void InsertRange(int index, IEnumerable<IFormFile> collection) |
LastIndexOf | callMethod("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) |
Remove | callMethod("Remove",[p1]) | bool Remove(IFormFile item) |
RemoveAll | RemoveAll(p1) | int RemoveAll(Predicate<IFormFile> match) |
RemoveAt | callMethod("RemoveAt",[p1]) | void RemoveAt(int index) |
RemoveRange | callMethod("RemoveRange",[p1,p2]) | void RemoveRange(int index, int count) |
Reverse | Reverse(NULL)Reverse([ :index = …, :count = … ]) | void Reverse()void Reverse(int index, int count) |
Slice | callMethod("Slice",[p1,p2]) | List<IFormFile> Slice(int start, int length) |
Sort | callMethod("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) |
ToArray | callMethod("ToArray",[]) | IFormFile[] ToArray() |
TrimExcess | callMethod("TrimExcess",[]) | void TrimExcess() |
TrueForAll | TrueForAll(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.Value |
HasValue | bool | read | o.HasValue |
Empty | FragmentString | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(FragmentString other)bool Equals(object obj) |
FromUriComponent | FromUriComponent(p1) | static FragmentString FromUriComponent(string uriComponent)static FragmentString FromUriComponent(Uri uri) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
ToUriComponent | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentLength | long? | read, write | o.ContentLength o.ContentLength = v |
Count | int | read | o.Count |
IsReadOnly | bool | read, write | o.IsReadOnly o.IsReadOnly = v |
Keys | ICollection<string> | read | o.Keys |
Values | ICollection<StringValues> | read | o.Values |
Indexer
o.Item(string key) → StringValues · o.SetItem(key,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1])callMethod("Add",[p1,p2]) | void Add(KeyValuePair<string, StringValues> item)void Add(string key, StringValues value) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(KeyValuePair<string, StringValues> item) |
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string key) |
CopyTo | CopyTo(p1,p2) | void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex) |
GetEnumerator | callMethod("GetEnumerator",[]) | HeaderDictionary.Enumerator GetEnumerator() |
Remove | Remove(p1) | bool Remove(KeyValuePair<string, StringValues> item)bool Remove(string key) |
TryGetValue | TryGetValue(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | KeyValuePair<string, StringValues> | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
HeaderDictionaryExtensions class static
Microsoft.AspNetCore.Http.HeaderDictionaryExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Append | Append(p1,p2,p3) | static void Append(IHeaderDictionary headers, string key, StringValues value) |
AppendCommaSeparatedValues | AppendCommaSeparatedValues(p1,p2,p3) | static void AppendCommaSeparatedValues(IHeaderDictionary headers, string key, string[] values) |
GetCommaSeparatedValues | GetCommaSeparatedValues(p1,p2) | static string[] GetCommaSeparatedValues(IHeaderDictionary headers, string key) |
SetCommaSeparatedValues | SetCommaSeparatedValues(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
| Method | Ring call | .NET overloads |
|---|---|---|
AppendList | AppendList(p1,p2,p3) | static void AppendList<T>(IHeaderDictionary Headers, string name, IList<T> values) |
GetTypedHeaders | GetTypedHeaders(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.Value |
HasValue | bool | read | o.HasValue |
Host | string | read | o.Host |
Port | int? | read | o.Port |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(HostString other)bool Equals(object obj) |
FromUriComponent | FromUriComponent(p1) | static HostString FromUriComponent(string uriComponent)static HostString FromUriComponent(Uri uri) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
MatchesAny | MatchesAny(p1,p2) | static bool MatchesAny(StringSegment value, IList<StringSegment> patterns) |
ToString | callMethod("ToString",[]) | string ToString() |
ToUriComponent | callMethod("ToUriComponent",[]) | string ToUriComponent() |
HttpContext class abstract
Microsoft.AspNetCore.Http.HttpContext · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Features | IFeatureCollection | read | o.Features |
Request | HttpRequest | read | o.Request |
Response | HttpResponse | read | o.Response |
Connection | ConnectionInfo | read | o.Connection |
WebSockets | WebSocketManager | read | o.WebSockets |
User | ClaimsPrincipal | read, write | o.User o.User = v |
Items | IDictionary<object, object> | read, write | o.Items o.Items = v |
RequestServices | IServiceProvider | read, write | o.RequestServices o.RequestServices = v |
RequestAborted | CancellationToken | read, write | o.RequestAborted o.RequestAborted = v |
TraceIdentifier | string | read, write | o.TraceIdentifier o.TraceIdentifier = v |
Session | ISession | read, write | o.Session o.Session = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Abort | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpContext | HttpContext | read, write | o.HttpContext o.HttpContext = v |
HttpContextServerVariableExtensions class static
Microsoft.AspNetCore.Http.HttpContextServerVariableExtensions · assembly Microsoft.AspNetCore.Http.Extensions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetServerVariable | GetServerVariable(p1,p2) | static string GetServerVariable(HttpContext context, string variableName) |
HttpMethods class static
Microsoft.AspNetCore.Http.HttpMethods · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Connect | string | read · static | o.Connect |
Delete | string | read · static | o.Delete |
Get | string | read · static | o.getGet() |
Head | string | read · static | o.Head |
Options | string | read · static | o.Options |
Patch | string | read · static | o.Patch |
Post | string | read · static | o.Post |
Put | string | read · static | o.getPut() |
Trace | string | read · static | o.Trace |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals([ :methodA = …, :methodB = … ]) | static bool Equals(string methodA, string methodB) |
GetCanonicalizedValue | callMethod("GetCanonicalizedValue",[p1]) | static string GetCanonicalizedValue(string method) |
IsConnect | callMethod("IsConnect",[p1]) | static bool IsConnect(string method) |
IsDelete | callMethod("IsDelete",[p1]) | static bool IsDelete(string method) |
IsGet | callMethod("IsGet",[p1]) | static bool IsGet(string method) |
IsHead | callMethod("IsHead",[p1]) | static bool IsHead(string method) |
IsOptions | callMethod("IsOptions",[p1]) | static bool IsOptions(string method) |
IsPatch | callMethod("IsPatch",[p1]) | static bool IsPatch(string method) |
IsPost | callMethod("IsPost",[p1]) | static bool IsPost(string method) |
IsPut | callMethod("IsPut",[p1]) | static bool IsPut(string method) |
IsTrace | callMethod("IsTrace",[p1]) | static bool IsTrace(string method) |
HttpProtocol class static
Microsoft.AspNetCore.Http.HttpProtocol · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Http09 | string | read · static | o.Http09 |
Http10 | string | read · static | o.Http10 |
Http11 | string | read · static | o.Http11 |
Http2 | string | read · static | o.Http2 |
Http3 | string | read · static | o.Http3 |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetHttpProtocol | GetHttpProtocol(p1) | static string GetHttpProtocol(Version version) |
IsHttp09 | callMethod("IsHttp09",[p1]) | static bool IsHttp09(string protocol) |
IsHttp10 | callMethod("IsHttp10",[p1]) | static bool IsHttp10(string protocol) |
IsHttp11 | callMethod("IsHttp11",[p1]) | static bool IsHttp11(string protocol) |
IsHttp2 | callMethod("IsHttp2",[p1]) | static bool IsHttp2(string protocol) |
IsHttp3 | callMethod("IsHttp3",[p1]) | static bool IsHttp3(string protocol) |
HttpRequest class abstract
Microsoft.AspNetCore.Http.HttpRequest · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpContext | HttpContext | read | o.HttpContext |
Method | string | read, write | o.Method o.Method = v |
Scheme | string | read, write | o.Scheme o.Scheme = v |
IsHttps | bool | read, write | o.IsHttps o.IsHttps = v |
Host | HostString | read, write | o.Host o.Host = v |
PathBase | PathString | read, write | o.PathBase o.PathBase = v |
Path | PathString | read, write | o.Path o.Path = v |
QueryString | QueryString | read, write | o.QueryString o.QueryString = v |
Query | IQueryCollection | read, write | o.Query o.Query = v |
Protocol | string | read, write | o.Protocol o.Protocol = v |
Headers | IHeaderDictionary | read | o.Headers |
Cookies | IRequestCookieCollection | read, write | o.Cookies o.Cookies = v |
ContentLength | long? | read, write | o.ContentLength o.ContentLength = v |
ContentType | string | read, write | o.ContentType o.ContentType = v |
Body | Stream | read, write | o.Body o.Body = v |
BodyReader | PipeReader | read | o.BodyReader |
HasFormContentType | bool | read | o.HasFormContentType |
Form | IFormCollection | read, write | o.Form o.Form = v |
RouteValues | RouteValueDictionary | read, write | o.RouteValues o.RouteValues = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ReadFormAsync | ReadFormAsync(value)ReadFormAsync([ :cancellationToken = … ]) | Task<IFormCollection> ReadFormAsync(CancellationToken cancellationToken = …) |
HttpRequestJsonExtensions class static
Microsoft.AspNetCore.Http.HttpRequestJsonExtensions · assembly Microsoft.AspNetCore.Http.Extensions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasJsonContentType | HasJsonContentType(p1) | static bool HasJsonContentType(HttpRequest request) |
ReadFromJsonAsync | ReadFromJsonAsync([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
EnableBuffering | EnableBuffering(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
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpContext | HttpContext | read | o.HttpContext |
StatusCode | int | read, write | o.StatusCode o.StatusCode = v |
Headers | IHeaderDictionary | read | o.Headers |
Body | Stream | read, write | o.Body o.Body = v |
BodyWriter | PipeWriter | read | o.BodyWriter |
ContentLength | long? | read, write | o.ContentLength o.ContentLength = v |
ContentType | string | read, write | o.ContentType o.ContentType = v |
Cookies | IResponseCookies | read | o.Cookies |
HasStarted | bool | read | o.HasStarted |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CompleteAsync | callMethod("CompleteAsync",[]) | Task CompleteAsync() |
OnCompleted | callMethod("OnCompleted",[p1])callMethod("OnCompleted",[p1,p2]) | void OnCompleted(Func<object, Task> callback, object state)void OnCompleted(Func<Task> callback) |
OnStarting | callMethod("OnStarting",[p1])callMethod("OnStarting",[p1,p2]) | void OnStarting(Func<object, Task> callback, object state)void OnStarting(Func<Task> callback) |
Redirect | callMethod("Redirect",[p1])callMethod("Redirect",[p1,p2]) | void Redirect(string location)void Redirect(string location, bool permanent) |
RegisterForDispose | RegisterForDispose(p1) | void RegisterForDispose(IDisposable disposable) |
RegisterForDisposeAsync | RegisterForDisposeAsync(p1) | void RegisterForDisposeAsync(IAsyncDisposable disposable) |
StartAsync | StartAsync(value)StartAsync([ :cancellationToken = … ]) | Task StartAsync(CancellationToken cancellationToken = …) |
HttpResponseJsonExtensions class static
Microsoft.AspNetCore.Http.HttpResponseJsonExtensions · assembly Microsoft.AspNetCore.Http.Extensions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WriteAsJsonAsync | WriteAsJsonAsync([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
WriteAsync | WriteAsync([ :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
| Name | Type | Access | In Ring |
|---|---|---|---|
Errors | IDictionary<string, string[]> | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentType | string | read | o.ContentType |
IEndpointFilter interface
Microsoft.AspNetCore.Http.IEndpointFilter · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
InvokeAsync | callMethod("InvokeAsync",[p1,p2]) | ValueTask<object> InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next) |
IFileHttpResult interface
Microsoft.AspNetCore.Http.IFileHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentType | string | read | o.ContentType |
FileDownloadName | string | read | o.FileDownloadName |
IFormCollection interface
Microsoft.AspNetCore.Http.IFormCollection · assembly Microsoft.AspNetCore.Http.Features
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Keys | ICollection<string> | read | o.Keys |
Files | IFormFileCollection | read | o.Files |
Indexer
o.Item(string key) → StringValues
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string key) |
TryGetValue | TryGetValue(p1) | bool TryGetValue(string key, out StringValues value) |
IFormFile interface
Microsoft.AspNetCore.Http.IFormFile · assembly Microsoft.AspNetCore.Http.Features
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentType | string | read | o.ContentType |
ContentDisposition | string | read | o.ContentDisposition |
Headers | IHeaderDictionary | read | o.Headers |
Length | long | read | o.Length |
Name | string | read | o.Name |
FileName | string | read | o.FileName |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyTo | CopyTo(p1) | void CopyTo(Stream target) |
CopyToAsync | CopyToAsync([ :target = …, :cancellationToken = … ]) | Task CopyToAsync(Stream target, CancellationToken cancellationToken = …) |
OpenReadStream | callMethod("OpenReadStream",[]) | Stream OpenReadStream() |
IFormFileCollection interface
Microsoft.AspNetCore.Http.IFormFileCollection · assembly Microsoft.AspNetCore.Http.Features
Implements: IEnumerable
Indexer
o.Item(string name) → IFormFile
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetFile | callMethod("GetFile",[p1]) | IFormFile GetFile(string name) |
GetFiles | callMethod("GetFiles",[p1]) | IReadOnlyList<IFormFile> GetFiles(string name) |
IHeaderDictionary interface
Microsoft.AspNetCore.Http.IHeaderDictionary · assembly Microsoft.AspNetCore.Http.Features
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentLength | long? | read, write | o.ContentLength o.ContentLength = v |
Accept | StringValues | read, write | o.Accept o.Accept = v |
AcceptCharset | StringValues | read, write | o.AcceptCharset o.AcceptCharset = v |
AcceptEncoding | StringValues | read, write | o.AcceptEncoding o.AcceptEncoding = v |
AcceptLanguage | StringValues | read, write | o.AcceptLanguage o.AcceptLanguage = v |
AcceptRanges | StringValues | read, write | o.AcceptRanges o.AcceptRanges = v |
AccessControlAllowCredentials | StringValues | read, write | o.AccessControlAllowCredentials o.AccessControlAllowCredentials = v |
AccessControlAllowHeaders | StringValues | read, write | o.AccessControlAllowHeaders o.AccessControlAllowHeaders = v |
AccessControlAllowMethods | StringValues | read, write | o.AccessControlAllowMethods o.AccessControlAllowMethods = v |
AccessControlAllowOrigin | StringValues | read, write | o.AccessControlAllowOrigin o.AccessControlAllowOrigin = v |
AccessControlExposeHeaders | StringValues | read, write | o.AccessControlExposeHeaders o.AccessControlExposeHeaders = v |
AccessControlMaxAge | StringValues | read, write | o.AccessControlMaxAge o.AccessControlMaxAge = v |
AccessControlRequestHeaders | StringValues | read, write | o.AccessControlRequestHeaders o.AccessControlRequestHeaders = v |
AccessControlRequestMethod | StringValues | read, write | o.AccessControlRequestMethod o.AccessControlRequestMethod = v |
Age | StringValues | read, write | o.Age o.Age = v |
Allow | StringValues | read, write | o.Allow o.Allow = v |
AltSvc | StringValues | read, write | o.AltSvc o.AltSvc = v |
Authorization | StringValues | read, write | o.Authorization o.Authorization = v |
Baggage | StringValues | read, write | o.Baggage o.Baggage = v |
CacheControl | StringValues | read, write | o.CacheControl o.CacheControl = v |
Connection | StringValues | read, write | o.Connection o.Connection = v |
ContentDisposition | StringValues | read, write | o.ContentDisposition o.ContentDisposition = v |
ContentEncoding | StringValues | read, write | o.ContentEncoding o.ContentEncoding = v |
ContentLanguage | StringValues | read, write | o.ContentLanguage o.ContentLanguage = v |
ContentLocation | StringValues | read, write | o.ContentLocation o.ContentLocation = v |
ContentMD5 | StringValues | read, write | o.ContentMD5 o.ContentMD5 = v |
ContentRange | StringValues | read, write | o.ContentRange o.ContentRange = v |
ContentSecurityPolicy | StringValues | read, write | o.ContentSecurityPolicy o.ContentSecurityPolicy = v |
ContentSecurityPolicyReportOnly | StringValues | read, write | o.ContentSecurityPolicyReportOnly o.ContentSecurityPolicyReportOnly = v |
ContentType | StringValues | read, write | o.ContentType o.ContentType = v |
CorrelationContext | StringValues | read, write | o.CorrelationContext o.CorrelationContext = v |
Cookie | StringValues | read, write | o.Cookie o.Cookie = v |
Date | StringValues | read, write | o.Date o.Date = v |
ETag | StringValues | read, write | o.ETag o.ETag = v |
Expires | StringValues | read, write | o.Expires o.Expires = v |
Expect | StringValues | read, write | o.Expect o.Expect = v |
From | StringValues | read, write | o.From o.From = v |
GrpcAcceptEncoding | StringValues | read, write | o.GrpcAcceptEncoding o.GrpcAcceptEncoding = v |
GrpcEncoding | StringValues | read, write | o.GrpcEncoding o.GrpcEncoding = v |
GrpcMessage | StringValues | read, write | o.GrpcMessage o.GrpcMessage = v |
GrpcStatus | StringValues | read, write | o.GrpcStatus o.GrpcStatus = v |
GrpcTimeout | StringValues | read, write | o.GrpcTimeout o.GrpcTimeout = v |
Host | StringValues | read, write | o.Host o.Host = v |
KeepAlive | StringValues | read, write | o.KeepAlive o.KeepAlive = v |
IfMatch | StringValues | read, write | o.IfMatch o.IfMatch = v |
IfModifiedSince | StringValues | read, write | o.IfModifiedSince o.IfModifiedSince = v |
IfNoneMatch | StringValues | read, write | o.IfNoneMatch o.IfNoneMatch = v |
IfRange | StringValues | read, write | o.IfRange o.IfRange = v |
IfUnmodifiedSince | StringValues | read, write | o.IfUnmodifiedSince o.IfUnmodifiedSince = v |
LastModified | StringValues | read, write | o.LastModified o.LastModified = v |
Link | StringValues | read, write | o.Link o.Link = v |
Location | StringValues | read, write | o.Location o.Location = v |
MaxForwards | StringValues | read, write | o.MaxForwards o.MaxForwards = v |
Origin | StringValues | read, write | o.Origin o.Origin = v |
Pragma | StringValues | read, write | o.Pragma o.Pragma = v |
ProxyAuthenticate | StringValues | read, write | o.ProxyAuthenticate o.ProxyAuthenticate = v |
ProxyAuthorization | StringValues | read, write | o.ProxyAuthorization o.ProxyAuthorization = v |
ProxyConnection | StringValues | read, write | o.ProxyConnection o.ProxyConnection = v |
Range | StringValues | read, write | o.Range o.Range = v |
Referer | StringValues | read, write | o.Referer o.Referer = v |
RetryAfter | StringValues | read, write | o.RetryAfter o.RetryAfter = v |
RequestId | StringValues | read, write | o.RequestId o.RequestId = v |
SecWebSocketAccept | StringValues | read, write | o.SecWebSocketAccept o.SecWebSocketAccept = v |
SecWebSocketKey | StringValues | read, write | o.SecWebSocketKey o.SecWebSocketKey = v |
SecWebSocketProtocol | StringValues | read, write | o.SecWebSocketProtocol o.SecWebSocketProtocol = v |
SecWebSocketVersion | StringValues | read, write | o.SecWebSocketVersion o.SecWebSocketVersion = v |
SecWebSocketExtensions | StringValues | read, write | o.SecWebSocketExtensions o.SecWebSocketExtensions = v |
Server | StringValues | read, write | o.Server o.Server = v |
SetCookie | StringValues | read, write | o.SetCookie o.SetCookie = v |
StrictTransportSecurity | StringValues | read, write | o.StrictTransportSecurity o.StrictTransportSecurity = v |
TE | StringValues | read, write | o.TE o.TE = v |
Trailer | StringValues | read, write | o.Trailer o.Trailer = v |
TransferEncoding | StringValues | read, write | o.TransferEncoding o.TransferEncoding = v |
Translate | StringValues | read, write | o.Translate o.Translate = v |
TraceParent | StringValues | read, write | o.TraceParent o.TraceParent = v |
TraceState | StringValues | read, write | o.TraceState o.TraceState = v |
Upgrade | StringValues | read, write | o.Upgrade o.Upgrade = v |
UpgradeInsecureRequests | StringValues | read, write | o.UpgradeInsecureRequests o.UpgradeInsecureRequests = v |
UserAgent | StringValues | read, write | o.UserAgent o.UserAgent = v |
Vary | StringValues | read, write | o.Vary o.Vary = v |
Via | StringValues | read, write | o.Via o.Via = v |
Warning | StringValues | read, write | o.Warning o.Warning = v |
WebSocketSubProtocols | StringValues | read, write | o.WebSocketSubProtocols o.WebSocketSubProtocols = v |
WWWAuthenticate | StringValues | read, write | o.WWWAuthenticate o.WWWAuthenticate = v |
XContentTypeOptions | StringValues | read, write | o.XContentTypeOptions o.XContentTypeOptions = v |
XFrameOptions | StringValues | read, write | o.XFrameOptions o.XFrameOptions = v |
XPoweredBy | StringValues | read, write | o.XPoweredBy o.XPoweredBy = v |
XRequestedWith | StringValues | read, write | o.XRequestedWith o.XRequestedWith = v |
XUACompatible | StringValues | read, write | o.XUACompatible o.XUACompatible = v |
XXSSProtection | StringValues | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpContext | HttpContext | read, write | o.HttpContext o.HttpContext = v |
IHttpContextFactory interface
Microsoft.AspNetCore.Http.IHttpContextFactory · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | callMethod("Create",[p1]) | HttpContext Create(IFeatureCollection featureCollection) |
Dispose | Dispose(p1) | void Dispose(HttpContext httpContext) |
IMiddleware interface
Microsoft.AspNetCore.Http.IMiddleware · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
InvokeAsync | callMethod("InvokeAsync",[p1,p2]) | Task InvokeAsync(HttpContext context, RequestDelegate next) |
IMiddlewareFactory interface
Microsoft.AspNetCore.Http.IMiddlewareFactory · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | callMethod("Create",[p1]) | IMiddleware Create(Type middlewareType) |
Release | callMethod("Release",[p1]) | void Release(IMiddleware middleware) |
INestedHttpResult interface
Microsoft.AspNetCore.Http.INestedHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Result | IResult | read | o.Result |
IProblemDetailsService interface
Microsoft.AspNetCore.Http.IProblemDetailsService · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
TryWriteAsync | callMethod("TryWriteAsync",[p1]) | ValueTask<bool> TryWriteAsync(ProblemDetailsContext context) |
WriteAsync | callMethod("WriteAsync",[p1]) | ValueTask WriteAsync(ProblemDetailsContext context) |
IProblemDetailsWriter interface
Microsoft.AspNetCore.Http.IProblemDetailsWriter · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanWrite | CanWrite(p1) | bool CanWrite(ProblemDetailsContext context) |
WriteAsync | callMethod("WriteAsync",[p1]) | ValueTask WriteAsync(ProblemDetailsContext context) |
IQueryCollection interface
Microsoft.AspNetCore.Http.IQueryCollection · assembly Microsoft.AspNetCore.Http.Features
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Keys | ICollection<string> | read | o.Keys |
Indexer
o.Item(string key) → StringValues
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string key) |
TryGetValue | TryGetValue(p1) | bool TryGetValue(string key, out StringValues value) |
IRequestCookieCollection interface
Microsoft.AspNetCore.Http.IRequestCookieCollection · assembly Microsoft.AspNetCore.Http.Features
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Keys | ICollection<string> | read | o.Keys |
Indexer
o.Item(string key) → string
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string key) |
TryGetValue | TryGetValue(p1) | bool TryGetValue(string key, out string value) |
IResponseCookies interface
Microsoft.AspNetCore.Http.IResponseCookies · assembly Microsoft.AspNetCore.Http.Features
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Append | Append([ :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) |
Delete | callMethod("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
| Method | Ring call | .NET overloads |
|---|---|---|
ExecuteAsync | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
IsAvailable | bool | read | o.IsAvailable |
Id | string | read | o.Id |
Keys | IEnumerable<string> | read | o.Keys |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clear | callMethod("Clear",[]) | void Clear() |
CommitAsync | CommitAsync(value)CommitAsync([ :cancellationToken = … ]) | Task CommitAsync(CancellationToken cancellationToken = …) |
LoadAsync | LoadAsync(value)LoadAsync([ :cancellationToken = … ]) | Task LoadAsync(CancellationToken cancellationToken = …) |
Remove | callMethod("Remove",[p1]) | void Remove(string key) |
Set | Set(p1,p2) | void Set(string key, byte[] value) |
TryGetValue | TryGetValue(p1) | bool TryGetValue(string key, out byte[] value) |
IStatusCodeHttpResult interface
Microsoft.AspNetCore.Http.IStatusCodeHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
StatusCode | int? | read | o.StatusCode |
IValueHttpResult interface
Microsoft.AspNetCore.Http.IValueHttpResult · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | object | read | o.Value |
IValueHttpResult1 interface
Microsoft.AspNetCore.Http.IValueHttpResult`1 · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | TValue | read | o.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
| Method | Ring call | .NET overloads |
|---|---|---|
Create | callMethod("Create",[p1]) | IMiddleware Create(Type middlewareType) |
Release | callMethod("Release",[p1]) | void Release(IMiddleware middleware) |
OpenApiRouteHandlerBuilderExtensions class static
Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Accepts | Accepts([ :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) |
ExcludeFromDescription | ExcludeFromDescription(p1) | static TBuilder ExcludeFromDescription<TBuilder>(TBuilder builder)static RouteHandlerBuilder ExcludeFromDescription(RouteHandlerBuilder builder) |
Produces | Produces([ :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) |
ProducesProblem | ProducesProblem([ :builder = …, :statusCode = …, :contentType = … ]) | static RouteHandlerBuilder ProducesProblem(RouteHandlerBuilder builder, int statusCode, string contentType = …)static TBuilder ProducesProblem<TBuilder>(TBuilder builder, int statusCode, string contentType = …) |
ProducesValidationProblem | ProducesValidationProblem([ :builder = …, :statusCode = …, :contentType = … ]) | static RouteHandlerBuilder ProducesValidationProblem(RouteHandlerBuilder builder, int statusCode = …, string contentType = …)static TBuilder ProducesValidationProblem<TBuilder>(TBuilder builder, int statusCode = …, string contentType = …) |
WithDescription | WithDescription(p1,p2) | static TBuilder WithDescription<TBuilder>(TBuilder builder, string description) |
WithSummary | WithSummary(p1,p2) | static TBuilder WithSummary<TBuilder>(TBuilder builder, string summary) |
WithTags | WithTags(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.Value |
HasValue | bool | read | o.HasValue |
Empty | PathString | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1]) | PathString Add(PathString other)string Add(QueryString other) |
Equals | Equals(p1) | bool Equals(PathString other)bool Equals(PathString other, StringComparison comparisonType)bool Equals(object obj) |
FromUriComponent | FromUriComponent(p1) | static PathString FromUriComponent(string uriComponent)static PathString FromUriComponent(Uri uri) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
StartsWithSegments | StartsWithSegments(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) |
ToString | callMethod("ToString",[]) | string ToString() |
ToUriComponent | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpContext | HttpContext | read, write | o.HttpContext o.HttpContext = v |
AdditionalMetadata | EndpointMetadataCollection | read, write | o.AdditionalMetadata o.AdditionalMetadata = v |
ProblemDetails | ProblemDetails | read, write | o.ProblemDetails o.ProblemDetails = v |
Exception | Exception | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
CustomizeProblemDetails | Action<ProblemDetailsContext> | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Type | Type | read | o.Type |
StatusCode | int | read | o.StatusCode |
ContentTypes | IEnumerable<string> | read | o.ContentTypes |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Keys | ICollection<string> | read | o.Keys |
Empty | QueryCollection | read · static | o.Empty |
Indexer
o.Item(string key) → StringValues
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string key) |
GetEnumerator | callMethod("GetEnumerator",[]) | QueryCollection.Enumerator GetEnumerator() |
TryGetValue | TryGetValue(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | KeyValuePair<string, StringValues> | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
MoveNext | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.Value |
HasValue | bool | read | o.HasValue |
Empty | QueryString | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(value)Add([ :other = … ])Add([ :name = …, :value = … ]) | QueryString Add(QueryString other)QueryString Add(string name, string value) |
Create | Create(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) |
Equals | Equals(p1) | bool Equals(QueryString other)bool Equals(object obj) |
FromUriComponent | FromUriComponent(p1) | static QueryString FromUriComponent(string uriComponent)static QueryString FromUriComponent(Uri uri) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
ToUriComponent | callMethod("ToUriComponent",[]) | string ToUriComponent() |
RequestDelegateFactory class static
Microsoft.AspNetCore.Http.RequestDelegateFactory · assembly Microsoft.AspNetCore.Http.Extensions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create([ :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 = …) |
InferMetadata | InferMetadata([ :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
| Name | Type | Access | In Ring |
|---|---|---|---|
ServiceProvider | IServiceProvider | read, write | o.ServiceProvider o.ServiceProvider = v |
RouteParameterNames | IEnumerable<string> | read, write | o.RouteParameterNames o.RouteParameterNames = v |
ThrowOnBadRequest | bool | read, write | o.ThrowOnBadRequest o.ThrowOnBadRequest = v |
DisableInferBodyFromParameters | bool | read, write | o.DisableInferBodyFromParameters o.DisableInferBodyFromParameters = v |
EndpointBuilder | EndpointBuilder | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
EndpointMetadata | IReadOnlyList<object> | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
RequestDelegate | RequestDelegate | read | o.RequestDelegate |
EndpointMetadata | IReadOnlyList<object> | read | o.EndpointMetadata |
RequestFormReaderExtensions class static
Microsoft.AspNetCore.Http.RequestFormReaderExtensions · assembly Microsoft.AspNetCore.Http
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ReadFormAsync | ReadFormAsync([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
CheckTrailersAvailable | CheckTrailersAvailable(p1) | static bool CheckTrailersAvailable(HttpRequest request) |
GetDeclaredTrailers | GetDeclaredTrailers(p1) | static StringValues GetDeclaredTrailers(HttpRequest request) |
GetTrailer | GetTrailer(p1,p2) | static StringValues GetTrailer(HttpRequest request, string trailerName) |
SupportsTrailers | SupportsTrailers(p1) | static bool SupportsTrailers(HttpRequest request) |
ResponseExtensions class static
Microsoft.AspNetCore.Http.ResponseExtensions · assembly Microsoft.AspNetCore.Http.Extensions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clear | Clear(p1) | static void Clear(HttpResponse response) |
Redirect | Redirect(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
| Method | Ring call | .NET overloads |
|---|---|---|
AppendTrailer | AppendTrailer(p1,p2,p3) | static void AppendTrailer(HttpResponse response, string trailerName, StringValues trailerValues) |
DeclareTrailer | DeclareTrailer(p1,p2) | static void DeclareTrailer(HttpResponse response, string trailerName) |
SupportsTrailers | SupportsTrailers(p1) | static bool SupportsTrailers(HttpResponse response) |
Results class static
Microsoft.AspNetCore.Http.Results · assembly Microsoft.AspNetCore.Http.Results
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Empty | IResult | read · static | o.Empty |
Extensions | IResultExtensions | read · static | o.Extensions |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Accepted | Accepted([ :uri = …, :value = … ]) | static IResult Accepted(string uri = …, object value = …)static IResult Accepted<TValue>(string uri = …, TValue value = …) |
AcceptedAtRoute | AcceptedAtRoute([ :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 = …) |
BadRequest | BadRequest(value)BadRequest([ :error = … ]) | static IResult BadRequest(object error = …)static IResult BadRequest<TValue>(TValue error) |
Bytes | Bytes([ :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 = …) |
Challenge | Challenge([ :properties = …, :authenticationSchemes = … ]) | static IResult Challenge(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …) |
Conflict | Conflict(value)Conflict([ :error = … ]) | static IResult Conflict(object error = …)static IResult Conflict<TValue>(TValue error) |
Content | Content([ :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) |
Created | Created(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) |
CreatedAtRoute | CreatedAtRoute([ :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 = …) |
File | File([ :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 = …) |
Forbid | Forbid([ :properties = …, :authenticationSchemes = … ]) | static IResult Forbid(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …) |
InternalServerError | InternalServerError(NULL)InternalServerError(value)InternalServerError([ :error = … ]) | static IResult InternalServerError()static IResult InternalServerError<TValue>(TValue error) |
Json | Json([ :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 = …) |
LocalRedirect | LocalRedirect([ :localUrl = …, :permanent = …, :preserveMethod = … ]) | static IResult LocalRedirect(string localUrl, bool permanent = …, bool preserveMethod = …) |
NoContent | NoContent() | static IResult NoContent() |
NotFound | NotFound(value)NotFound([ :value = … ]) | static IResult NotFound(object value = …)static IResult NotFound<TValue>(TValue value) |
Ok | Ok(value)Ok([ :value = … ]) | static IResult Ok(object value = …)static IResult Ok<TValue>(TValue value) |
Problem | Problem(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) |
Redirect | Redirect([ :url = …, :permanent = …, :preserveMethod = … ]) | static IResult Redirect(string url, bool permanent = …, bool preserveMethod = …) |
RedirectToRoute | RedirectToRoute([ :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 = …) |
SignIn | SignIn([ :principal = …, :properties = …, :authenticationScheme = … ]) | static IResult SignIn(ClaimsPrincipal principal, AuthenticationProperties properties = …, string authenticationScheme = …) |
SignOut | SignOut([ :properties = …, :authenticationSchemes = … ]) | static IResult SignOut(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …) |
StatusCode | StatusCode(p1) | static IResult StatusCode(int statusCode) |
Stream | Stream([ :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 = …) |
Text | Text([ :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 = …) |
Unauthorized | Unauthorized() | static IResult Unauthorized() |
UnprocessableEntity | UnprocessableEntity(value)UnprocessableEntity([ :error = … ]) | static IResult UnprocessableEntity(object error = …)static IResult UnprocessableEntity<TValue>(TValue error) |
ValidationProblem | ValidationProblem([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
SendFileAsync | SendFileAsync(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
| Method | Ring call | .NET overloads |
|---|---|---|
SendFileAsync | SendFileAsync([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
Get | @Get(p1,p2) | static byte[] Get(ISession session, string key) |
GetInt32 | GetInt32(p1,p2) | static int? GetInt32(ISession session, string key) |
GetString | GetString(p1,p2) | static string GetString(ISession session, string key) |
SetInt32 | SetInt32(p1,p2,p3) | static void SetInt32(ISession session, string key, int value) |
SetString | SetString(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Status100Continue | int | constant · static | o.Status100Continue |
Status101SwitchingProtocols | int | constant · static | o.Status101SwitchingProtocols |
Status102Processing | int | constant · static | o.Status102Processing |
Status200OK | int | constant · static | o.Status200OK |
Status201Created | int | constant · static | o.Status201Created |
Status202Accepted | int | constant · static | o.Status202Accepted |
Status203NonAuthoritative | int | constant · static | o.Status203NonAuthoritative |
Status204NoContent | int | constant · static | o.Status204NoContent |
Status205ResetContent | int | constant · static | o.Status205ResetContent |
Status206PartialContent | int | constant · static | o.Status206PartialContent |
Status207MultiStatus | int | constant · static | o.Status207MultiStatus |
Status208AlreadyReported | int | constant · static | o.Status208AlreadyReported |
Status226IMUsed | int | constant · static | o.Status226IMUsed |
Status300MultipleChoices | int | constant · static | o.Status300MultipleChoices |
Status301MovedPermanently | int | constant · static | o.Status301MovedPermanently |
Status302Found | int | constant · static | o.Status302Found |
Status303SeeOther | int | constant · static | o.Status303SeeOther |
Status304NotModified | int | constant · static | o.Status304NotModified |
Status305UseProxy | int | constant · static | o.Status305UseProxy |
Status306SwitchProxy | int | constant · static | o.Status306SwitchProxy |
Status307TemporaryRedirect | int | constant · static | o.Status307TemporaryRedirect |
Status308PermanentRedirect | int | constant · static | o.Status308PermanentRedirect |
Status400BadRequest | int | constant · static | o.Status400BadRequest |
Status401Unauthorized | int | constant · static | o.Status401Unauthorized |
Status402PaymentRequired | int | constant · static | o.Status402PaymentRequired |
Status403Forbidden | int | constant · static | o.Status403Forbidden |
Status404NotFound | int | constant · static | o.Status404NotFound |
Status405MethodNotAllowed | int | constant · static | o.Status405MethodNotAllowed |
Status406NotAcceptable | int | constant · static | o.Status406NotAcceptable |
Status407ProxyAuthenticationRequired | int | constant · static | o.Status407ProxyAuthenticationRequired |
Status408RequestTimeout | int | constant · static | o.Status408RequestTimeout |
Status409Conflict | int | constant · static | o.Status409Conflict |
Status410Gone | int | constant · static | o.Status410Gone |
Status411LengthRequired | int | constant · static | o.Status411LengthRequired |
Status412PreconditionFailed | int | constant · static | o.Status412PreconditionFailed |
Status413RequestEntityTooLarge | int | constant · static | o.Status413RequestEntityTooLarge |
Status413PayloadTooLarge | int | constant · static | o.Status413PayloadTooLarge |
Status414RequestUriTooLong | int | constant · static | o.Status414RequestUriTooLong |
Status414UriTooLong | int | constant · static | o.Status414UriTooLong |
Status415UnsupportedMediaType | int | constant · static | o.Status415UnsupportedMediaType |
Status416RequestedRangeNotSatisfiable | int | constant · static | o.Status416RequestedRangeNotSatisfiable |
Status416RangeNotSatisfiable | int | constant · static | o.Status416RangeNotSatisfiable |
Status417ExpectationFailed | int | constant · static | o.Status417ExpectationFailed |
Status418ImATeapot | int | constant · static | o.Status418ImATeapot |
Status419AuthenticationTimeout | int | constant · static | o.Status419AuthenticationTimeout |
Status421MisdirectedRequest | int | constant · static | o.Status421MisdirectedRequest |
Status422UnprocessableEntity | int | constant · static | o.Status422UnprocessableEntity |
Status423Locked | int | constant · static | o.Status423Locked |
Status424FailedDependency | int | constant · static | o.Status424FailedDependency |
Status426UpgradeRequired | int | constant · static | o.Status426UpgradeRequired |
Status428PreconditionRequired | int | constant · static | o.Status428PreconditionRequired |
Status429TooManyRequests | int | constant · static | o.Status429TooManyRequests |
Status431RequestHeaderFieldsTooLarge | int | constant · static | o.Status431RequestHeaderFieldsTooLarge |
Status451UnavailableForLegalReasons | int | constant · static | o.Status451UnavailableForLegalReasons |
Status499ClientClosedRequest | int | constant · static | o.Status499ClientClosedRequest |
Status500InternalServerError | int | constant · static | o.Status500InternalServerError |
Status501NotImplemented | int | constant · static | o.Status501NotImplemented |
Status502BadGateway | int | constant · static | o.Status502BadGateway |
Status503ServiceUnavailable | int | constant · static | o.Status503ServiceUnavailable |
Status504GatewayTimeout | int | constant · static | o.Status504GatewayTimeout |
Status505HttpVersionNotsupported | int | constant · static | o.Status505HttpVersionNotsupported |
Status506VariantAlsoNegotiates | int | constant · static | o.Status506VariantAlsoNegotiates |
Status507InsufficientStorage | int | constant · static | o.Status507InsufficientStorage |
Status508LoopDetected | int | constant · static | o.Status508LoopDetected |
Status510NotExtended | int | constant · static | o.Status510NotExtended |
Status511NetworkAuthenticationRequired | int | constant · static | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Stream | Stream | read | o.Stream |
PriorFeature | IHttpResponseBodyFeature | read | o.PriorFeature |
Writer | PipeWriter | read | o.Writer |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CompleteAsync | callMethod("CompleteAsync",[]) | Task CompleteAsync() |
DisableBuffering | callMethod("DisableBuffering",[]) | void DisableBuffering() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
SendFileAsync | callMethod("SendFileAsync",[p1,p2,p3,p4]) | Task SendFileAsync(string path, long offset, long? count, CancellationToken cancellationToken) |
StartAsync | StartAsync(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Tags | IReadOnlyList<string> | read | o.Tags |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Empty | EmptyHttpResult | read · static | o.Empty |
Extensions | IResultExtensions | read · static | o.Extensions |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Accepted | Accepted(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) |
AcceptedAtRoute | AcceptedAtRoute([ :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) |
BadRequest | BadRequest(NULL)BadRequest(value)BadRequest([ :error = … ]) | static BadRequest BadRequest()static BadRequest<TValue> BadRequest<TValue>(TValue error) |
Bytes | Bytes([ :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 = …) |
Challenge | Challenge([ :properties = …, :authenticationSchemes = … ]) | static ChallengeHttpResult Challenge(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …) |
Conflict | Conflict(NULL)Conflict(value)Conflict([ :error = … ]) | static Conflict Conflict()static Conflict<TValue> Conflict<TValue>(TValue error) |
Content | Content([ :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) |
Created | Created(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) |
CreatedAtRoute | CreatedAtRoute([ :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) |
File | File([ :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 = …) |
Forbid | Forbid([ :properties = …, :authenticationSchemes = … ]) | static ForbidHttpResult Forbid(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …) |
InternalServerError | InternalServerError(NULL)InternalServerError(value)InternalServerError([ :error = … ]) | static InternalServerError InternalServerError()static InternalServerError<TValue> InternalServerError<TValue>(TValue error) |
Json | Json([ :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 = …) |
LocalRedirect | LocalRedirect([ :localUrl = …, :permanent = …, :preserveMethod = … ]) | static RedirectHttpResult LocalRedirect(string localUrl, bool permanent = …, bool preserveMethod = …) |
NoContent | NoContent() | static NoContent NoContent() |
NotFound | NotFound(NULL)NotFound(value)NotFound([ :value = … ]) | static NotFound NotFound()static NotFound<TValue> NotFound<TValue>(TValue value) |
Ok | Ok(NULL)Ok(value)Ok([ :value = … ]) | static Ok Ok()static Ok<TValue> Ok<TValue>(TValue value) |
PhysicalFile | PhysicalFile([ :path = …, :contentType = …, :fileDownloadName = …, :lastModified = …, :entityTag = …, :enableRangeProcessing = … ]) | static PhysicalFileHttpResult PhysicalFile(string path, string contentType = …, string fileDownloadName = …, DateTimeOffset? lastModified = …, EntityTagHeaderValue entityTag = …, bool enableRangeProcessing = …) |
Problem | Problem(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) |
Redirect | Redirect([ :url = …, :permanent = …, :preserveMethod = … ]) | static RedirectHttpResult Redirect(string url, bool permanent = …, bool preserveMethod = …) |
RedirectToRoute | RedirectToRoute([ :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 = …) |
SignIn | SignIn([ :principal = …, :properties = …, :authenticationScheme = … ]) | static SignInHttpResult SignIn(ClaimsPrincipal principal, AuthenticationProperties properties = …, string authenticationScheme = …) |
SignOut | SignOut([ :properties = …, :authenticationSchemes = … ]) | static SignOutHttpResult SignOut(AuthenticationProperties properties = …, IList<string> authenticationSchemes = …) |
StatusCode | StatusCode(p1) | static StatusCodeHttpResult StatusCode(int statusCode) |
Stream | Stream([ :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 = …) |
Text | Text([ :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 = …) |
Unauthorized | Unauthorized() | static UnauthorizedHttpResult Unauthorized() |
UnprocessableEntity | UnprocessableEntity(NULL)UnprocessableEntity(value)UnprocessableEntity([ :error = … ]) | static UnprocessableEntity UnprocessableEntity()static UnprocessableEntity<TValue> UnprocessableEntity<TValue>(TValue error) |
ValidationProblem | ValidationProblem([ :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 = …) |
VirtualFile | VirtualFile([ :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
| Name | Type | Access | In Ring |
|---|---|---|---|
SubProtocol | string | read, write | o.SubProtocol o.SubProtocol = v |
KeepAliveInterval | TimeSpan? | read, write | o.KeepAliveInterval o.KeepAliveInterval = v |
KeepAliveTimeout | TimeSpan? | read, write | o.KeepAliveTimeout o.KeepAliveTimeout = v |
DangerousEnableCompression | bool | read, write | o.DangerousEnableCompression o.DangerousEnableCompression = v |
DisableServerContextTakeover | bool | read, write | o.DisableServerContextTakeover o.DisableServerContextTakeover = v |
ServerMaxWindowBits | int | read, write | o.ServerMaxWindowBits o.ServerMaxWindowBits = v |
WebSocketManager class abstract
Microsoft.AspNetCore.Http.WebSocketManager · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsWebSocketRequest | bool | read | o.IsWebSocketRequest |
WebSocketRequestedProtocols | IList<string> | read | o.WebSocketRequestedProtocols |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AcceptWebSocketAsync | AcceptWebSocketAsync(NULL)AcceptWebSocketAsync(value)AcceptWebSocketAsync([ :subProtocol = … ])AcceptWebSocketAsync([ :acceptContext = … ]) | Task<WebSocket> AcceptWebSocketAsync()Task<WebSocket> AcceptWebSocketAsync(string subProtocol)Task<WebSocket> AcceptWebSocketAsync(WebSocketAcceptContext acceptContext) |