Microsoft.AspNetCore.WebUtilities
22 wrapped types. Load them with using { "Microsoft.AspNetCore.WebUtilities" }. Click a class to open it.
AspBase64UrlTextEncoder class static
Microsoft.AspNetCore.WebUtilities.Base64UrlTextEncoder · assembly Microsoft.AspNetCore.WebUtilities
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Decode | Decode(p1) | static byte[] Decode(string text) |
Encode | Encode(p1) | static string Encode(byte[] data) |
BufferedReadStream class · extends Stream
Microsoft.AspNetCore.WebUtilities.BufferedReadStream · assembly Microsoft.AspNetCore.WebUtilities
Implements: IDisposable, IAsyncDisposable
Constructors
new BufferedReadStream(Stream inner, int bufferSize) |
new BufferedReadStream(Stream inner, int bufferSize, ArrayPool<byte> bytePool) |
Ring: new BufferedReadStream(args) uses one constructor; the others are chosen by the parameter names: new BufferedReadStream().@New([ :param = value ]) or dnNew("BufferedReadStream",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BufferedData | ArraySegment<byte> | read | o.BufferedData |
CanRead | bool | read | o.getCanRead() |
CanSeek | bool | read | o.getCanSeek() |
CanTimeout | bool | read | o.getCanTimeout() |
CanWrite | bool | read | o.getCanWrite() |
Length | long | read | o.getLength() |
Position | long | read, write | o.getPosition() o.setPosition(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
EnsureBuffered | callMethod("EnsureBuffered",[])callMethod("EnsureBuffered",[p1]) | bool EnsureBuffered()bool EnsureBuffered(int minCount) |
EnsureBufferedAsync | EnsureBufferedAsync(value)EnsureBufferedAsync([ :cancellationToken = … ])EnsureBufferedAsync([ :minCount = …, :cancellationToken = … ]) | Task<bool> EnsureBufferedAsync(CancellationToken cancellationToken)Task<bool> EnsureBufferedAsync(int minCount, CancellationToken cancellationToken) |
Flush | callMethod("Flush",[]) | void Flush() |
FlushAsync | FlushAsync(value)FlushAsync([ :cancellationToken = … ]) | Task FlushAsync(CancellationToken cancellationToken) |
Read | Read(p1,p2,p3) | int Read(byte[] buffer, int offset, int count) |
ReadAsync | ReadAsync([ :buffer = …, :cancellationToken = … ])ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken) |
ReadLine | callMethod("ReadLine",[p1]) | string ReadLine(int lengthLimit) |
ReadLineAsync | callMethod("ReadLineAsync",[p1,p2]) | Task<string> ReadLineAsync(int lengthLimit, CancellationToken cancellationToken) |
Seek | Seek(p1,p2) | long Seek(long offset, SeekOrigin origin) |
SetLength | callMethod("SetLength",[p1]) | void SetLength(long value) |
Write | Write(p1,p2,p3) | void Write(byte[] buffer, int offset, int count) |
WriteAsync | WriteAsync([ :buffer = …, :cancellationToken = … ])WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken)Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) |
Members of the base class are inherited.
FileBufferingReadStream class · extends Stream
Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream · assembly Microsoft.AspNetCore.WebUtilities
Implements: IDisposable, IAsyncDisposable
Constructors
new FileBufferingReadStream(Stream inner, int memoryThreshold) |
new FileBufferingReadStream(Stream inner, int memoryThreshold, long? bufferLimit, Func<string> tempFileDirectoryAccessor) |
new FileBufferingReadStream(Stream inner, int memoryThreshold, long? bufferLimit, Func<string> tempFileDirectoryAccessor, ArrayPool<byte> bytePool) |
new FileBufferingReadStream(Stream inner, int memoryThreshold, long? bufferLimit, string tempFileDirectory) |
new FileBufferingReadStream(Stream inner, int memoryThreshold, long? bufferLimit, string tempFileDirectory, ArrayPool<byte> bytePool) |
Ring: new FileBufferingReadStream(args) uses one constructor; the others are chosen by the parameter names: new FileBufferingReadStream().@New([ :param = value ]) or dnNew("FileBufferingReadStream",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MemoryThreshold | int | read | o.MemoryThreshold |
InMemory | bool | read | o.InMemory |
TempFileName | string | read | o.TempFileName |
CanRead | bool | read | o.getCanRead() |
CanSeek | bool | read | o.getCanSeek() |
CanWrite | bool | read | o.getCanWrite() |
Length | long | read | o.getLength() |
Position | long | read, write | o.getPosition() o.setPosition(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyToAsync | CopyToAsync([ :destination = …, :bufferSize = …, :cancellationToken = … ]) | Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) |
DisposeAsync | callMethod("DisposeAsync",[]) | ValueTask DisposeAsync() |
Flush | callMethod("Flush",[]) | void Flush() |
Read | Read(p1,p2,p3) | int Read(Span<byte> buffer)int Read(byte[] buffer, int offset, int count) |
ReadAsync | ReadAsync([ :buffer = …, :cancellationToken = … ])ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …) |
Seek | Seek(p1,p2) | long Seek(long offset, SeekOrigin origin) |
SetLength | callMethod("SetLength",[p1]) | void SetLength(long value) |
Write | Write(p1,p2,p3) | void Write(byte[] buffer, int offset, int count) |
WriteAsync | WriteAsync([ :buffer = …, :cancellationToken = … ])WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken)Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) |
Members of the base class are inherited.
FileBufferingWriteStream class sealed · extends Stream
Microsoft.AspNetCore.WebUtilities.FileBufferingWriteStream · assembly Microsoft.AspNetCore.WebUtilities
Implements: IDisposable, IAsyncDisposable
Constructors
new FileBufferingWriteStream(int memoryThreshold = …, long? bufferLimit = …, Func<string> tempFileDirectoryAccessor = …) |
Ring: new FileBufferingWriteStream(args) uses one constructor; the others are chosen by the parameter names: new FileBufferingWriteStream().@New([ :param = value ]) or dnNew("FileBufferingWriteStream",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MemoryThreshold | int | read | o.MemoryThreshold |
CanRead | bool | read | o.getCanRead() |
CanSeek | bool | read | o.getCanSeek() |
CanWrite | bool | read | o.getCanWrite() |
Length | long | read | o.getLength() |
Position | long | read, write | o.getPosition() o.setPosition(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DisposeAsync | callMethod("DisposeAsync",[]) | ValueTask DisposeAsync() |
DrainBufferAsync | DrainBufferAsync([ :destination = …, :cancellationToken = … ]) | Task DrainBufferAsync(Stream destination, CancellationToken cancellationToken = …)Task DrainBufferAsync(PipeWriter destination, CancellationToken cancellationToken = …) |
Flush | callMethod("Flush",[]) | void Flush() |
FlushAsync | FlushAsync(value)FlushAsync([ :cancellationToken = … ]) | Task FlushAsync(CancellationToken cancellationToken) |
Read | Read(p1,p2,p3) | int Read(byte[] buffer, int offset, int count) |
ReadAsync | ReadAsync([ :buffer = …, :cancellationToken = … ])ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken) |
Seek | Seek(p1,p2) | long Seek(long offset, SeekOrigin origin) |
SetLength | callMethod("SetLength",[p1]) | void SetLength(long value) |
Write | Write(p1,p2,p3) | void Write(byte[] buffer, int offset, int count) |
WriteAsync | WriteAsync([ :buffer = …, :cancellationToken = … ])WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …) |
Members of the base class are inherited.
FileMultipartSection class
Microsoft.AspNetCore.WebUtilities.FileMultipartSection · assembly Microsoft.AspNetCore.WebUtilities
Constructors
new FileMultipartSection(MultipartSection section) |
new FileMultipartSection(MultipartSection section, ContentDispositionHeaderValue header) |
Ring: new FileMultipartSection(args) uses one constructor; the others are chosen by the parameter names: new FileMultipartSection().@New([ :param = value ]) or dnNew("FileMultipartSection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Section | MultipartSection | read | o.Section |
FileStream | Stream | read | o.FileStream |
Name | string | read | o.Name |
FileName | string | read | o.FileName |
FormMultipartSection class
Microsoft.AspNetCore.WebUtilities.FormMultipartSection · assembly Microsoft.AspNetCore.WebUtilities
Constructors
new FormMultipartSection(MultipartSection section) |
new FormMultipartSection(MultipartSection section, ContentDispositionHeaderValue header) |
Ring: new FormMultipartSection(args) uses one constructor; the others are chosen by the parameter names: new FormMultipartSection().@New([ :param = value ]) or dnNew("FormMultipartSection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Section | MultipartSection | read | o.Section |
Name | string | read | o.Name |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetValueAsync | GetValueAsync(NULL)GetValueAsync(value)GetValueAsync([ :cancellationToken = … ]) | Task<string> GetValueAsync()ValueTask<string> GetValueAsync(CancellationToken cancellationToken) |
FormPipeReader class
Microsoft.AspNetCore.WebUtilities.FormPipeReader · assembly Microsoft.AspNetCore.WebUtilities
Constructors
new FormPipeReader(PipeReader pipeReader) |
new FormPipeReader(PipeReader pipeReader, Encoding encoding) |
Ring: new FormPipeReader(args) uses one constructor; the others are chosen by the parameter names: new FormPipeReader().@New([ :param = value ]) or dnNew("FormPipeReader",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ValueCountLimit | int | read, write | o.ValueCountLimit o.ValueCountLimit = v |
KeyLengthLimit | int | read, write | o.KeyLengthLimit o.KeyLengthLimit = v |
ValueLengthLimit | int | read, write | o.ValueLengthLimit o.ValueLengthLimit = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ReadFormAsync | ReadFormAsync(value)ReadFormAsync([ :cancellationToken = … ]) | Task<Dictionary<string, StringValues>> ReadFormAsync(CancellationToken cancellationToken = …) |
FormReader class
Microsoft.AspNetCore.WebUtilities.FormReader · assembly Microsoft.AspNetCore.WebUtilities
Implements: IDisposable
Constructors
new FormReader(string data) |
new FormReader(string data, ArrayPool<char> charPool) |
new FormReader(Stream stream) |
new FormReader(Stream stream, Encoding encoding) |
new FormReader(Stream stream, Encoding encoding, ArrayPool<char> charPool) |
Ring: new FormReader(args) uses one constructor; the others are chosen by the parameter names: new FormReader().@New([ :param = value ]) or dnNew("FormReader",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ValueCountLimit | int | read, write | o.ValueCountLimit o.ValueCountLimit = v |
KeyLengthLimit | int | read, write | o.KeyLengthLimit o.KeyLengthLimit = v |
ValueLengthLimit | int | read, write | o.ValueLengthLimit o.ValueLengthLimit = v |
DefaultValueCountLimit | int | constant · static | o.DefaultValueCountLimit |
DefaultKeyLengthLimit | int | constant · static | o.DefaultKeyLengthLimit |
DefaultValueLengthLimit | int | constant · static | o.DefaultValueLengthLimit |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
ReadForm | callMethod("ReadForm",[]) | Dictionary<string, StringValues> ReadForm() |
ReadFormAsync | ReadFormAsync(value)ReadFormAsync([ :cancellationToken = … ]) | Task<Dictionary<string, StringValues>> ReadFormAsync(CancellationToken cancellationToken = …) |
ReadNextPair | callMethod("ReadNextPair",[]) | KeyValuePair<string, string>? ReadNextPair() |
ReadNextPairAsync | ReadNextPairAsync(value)ReadNextPairAsync([ :cancellationToken = … ]) | Task<KeyValuePair<string, string>?> ReadNextPairAsync(CancellationToken cancellationToken = …) |
HttpRequestStreamReader class · extends TextReader
Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader · assembly Microsoft.AspNetCore.WebUtilities
Implements: IDisposable
Constructors
new HttpRequestStreamReader(Stream stream, Encoding encoding) |
new HttpRequestStreamReader(Stream stream, Encoding encoding, int bufferSize) |
new HttpRequestStreamReader(Stream stream, Encoding encoding, int bufferSize, ArrayPool<byte> bytePool, ArrayPool<char> charPool) |
Ring: new HttpRequestStreamReader(args) uses one constructor; the others are chosen by the parameter names: new HttpRequestStreamReader().@New([ :param = value ]) or dnNew("HttpRequestStreamReader",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Peek | callMethod("Peek",[]) | int Peek() |
Read | Read(NULL)Read(value)Read([ :buffer = … ])Read([ :buffer = …, :index = …, :count = … ]) | int Read()int Read(char[] buffer, int index, int count)int Read(Span<char> buffer) |
ReadAsync | ReadAsync([ :buffer = …, :cancellationToken = … ])ReadAsync([ :buffer = …, :index = …, :count = … ]) | Task<int> ReadAsync(char[] buffer, int index, int count)ValueTask<int> ReadAsync(Memory<char> buffer, CancellationToken cancellationToken = …) |
ReadLine | callMethod("ReadLine",[]) | string ReadLine() |
ReadLineAsync | ReadLineAsync(NULL) | Task<string> ReadLineAsync() |
ReadToEndAsync | ReadToEndAsync(NULL) | Task<string> ReadToEndAsync() |
Members of the base class are inherited.
HttpResponseStreamWriter class · extends TextWriter
Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter · assembly Microsoft.AspNetCore.WebUtilities
Implements: IDisposable, IAsyncDisposable
Constructors
new HttpResponseStreamWriter(Stream stream, Encoding encoding) |
new HttpResponseStreamWriter(Stream stream, Encoding encoding, int bufferSize) |
new HttpResponseStreamWriter(Stream stream, Encoding encoding, int bufferSize, ArrayPool<byte> bytePool, ArrayPool<char> charPool) |
Ring: new HttpResponseStreamWriter(args) uses one constructor; the others are chosen by the parameter names: new HttpResponseStreamWriter().@New([ :param = value ]) or dnNew("HttpResponseStreamWriter",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Encoding | Encoding | read | o.getEncoding() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DisposeAsync | callMethod("DisposeAsync",[]) | ValueTask DisposeAsync() |
Flush | callMethod("Flush",[]) | void Flush() |
FlushAsync | FlushAsync(NULL) | Task FlushAsync() |
Write | callMethod("Write",[p1])callMethod("Write",[p1,p2,p3]) | void Write(char value)void Write(char[] values, int index, int count)void Write(ReadOnlySpan<char> value)void Write(string value) |
WriteAsync | WriteAsync(value)WriteAsync([ :value = … ])WriteAsync([ :value = …, :cancellationToken = … ])WriteAsync([ :values = …, :index = …, :count = … ]) | Task WriteAsync(char value)Task WriteAsync(char[] values, int index, int count)Task WriteAsync(string value)Task WriteAsync(ReadOnlyMemory<char> value, CancellationToken cancellationToken = …) |
WriteLine | callMethod("WriteLine",[p1]) | void WriteLine(ReadOnlySpan<char> value) |
WriteLineAsync | WriteLineAsync(value)WriteLineAsync([ :value = … ])WriteLineAsync([ :value = …, :cancellationToken = … ])WriteLineAsync([ :values = …, :index = …, :count = … ]) | Task WriteLineAsync(ReadOnlyMemory<char> value, CancellationToken cancellationToken = …)Task WriteLineAsync(char[] values, int index, int count)Task WriteLineAsync(char value)Task WriteLineAsync(string value) |
Members of the base class are inherited.
KeyValueAccumulator struct
Microsoft.AspNetCore.WebUtilities.KeyValueAccumulator · assembly Microsoft.AspNetCore.WebUtilities
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HasValues | bool | read | o.HasValues |
KeyCount | int | read | o.KeyCount |
ValueCount | int | read | o.ValueCount |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Append | callMethod("Append",[p1,p2]) | void Append(string key, string value) |
GetResults | callMethod("GetResults",[]) | Dictionary<string, StringValues> GetResults() |
MultipartReader class
Microsoft.AspNetCore.WebUtilities.MultipartReader · assembly Microsoft.AspNetCore.WebUtilities
Constructors
new MultipartReader(string boundary, Stream stream) |
new MultipartReader(string boundary, Stream stream, int bufferSize) |
Ring: new MultipartReader(args) uses one constructor; the others are chosen by the parameter names: new MultipartReader().@New([ :param = value ]) or dnNew("MultipartReader",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HeadersCountLimit | int | read, write | o.HeadersCountLimit o.HeadersCountLimit = v |
HeadersLengthLimit | int | read, write | o.HeadersLengthLimit o.HeadersLengthLimit = v |
BodyLengthLimit | long? | read, write | o.BodyLengthLimit o.BodyLengthLimit = v |
DefaultHeadersCountLimit | int | constant · static | o.DefaultHeadersCountLimit |
DefaultHeadersLengthLimit | int | constant · static | o.DefaultHeadersLengthLimit |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ReadNextSectionAsync | ReadNextSectionAsync(value)ReadNextSectionAsync([ :cancellationToken = … ]) | Task<MultipartSection> ReadNextSectionAsync(CancellationToken cancellationToken = …) |
MultipartSection class
Microsoft.AspNetCore.WebUtilities.MultipartSection · assembly Microsoft.AspNetCore.WebUtilities
Constructors
new MultipartSection() |
Ring: new MultipartSection(args) uses one constructor; the others are chosen by the parameter names: new MultipartSection().@New([ :param = value ]) or dnNew("MultipartSection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentType | string | read | o.ContentType |
ContentDisposition | string | read | o.ContentDisposition |
Headers | Dictionary<string, StringValues> | read, write | o.Headers o.Headers = v |
Body | Stream | read, write | o.Body o.Body = v |
BaseStreamOffset | long? | read, write | o.BaseStreamOffset o.BaseStreamOffset = v |
MultipartSectionConverterExtensions class static
Microsoft.AspNetCore.WebUtilities.MultipartSectionConverterExtensions · assembly Microsoft.AspNetCore.WebUtilities
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AsFileSection | AsFileSection(p1) | static FileMultipartSection AsFileSection(MultipartSection section) |
AsFormDataSection | AsFormDataSection(p1) | static FormMultipartSection AsFormDataSection(MultipartSection section) |
GetContentDispositionHeader | GetContentDispositionHeader(p1) | static ContentDispositionHeaderValue GetContentDispositionHeader(MultipartSection section) |
MultipartSectionStreamExtensions class static
Microsoft.AspNetCore.WebUtilities.MultipartSectionStreamExtensions · assembly Microsoft.AspNetCore.WebUtilities
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ReadAsStringAsync | ReadAsStringAsync(value)ReadAsStringAsync([ :section = … ])ReadAsStringAsync([ :section = …, :cancellationToken = … ]) | static Task<string> ReadAsStringAsync(MultipartSection section)static ValueTask<string> ReadAsStringAsync(MultipartSection section, CancellationToken cancellationToken) |
QueryHelpers class static
Microsoft.AspNetCore.WebUtilities.QueryHelpers · assembly Microsoft.AspNetCore.WebUtilities
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddQueryString | AddQueryString([ :uri = …, :queryString = … ])AddQueryString([ :uri = …, :name = …, :value = … ]) | static string AddQueryString(string uri, string name, string value)static string AddQueryString(string uri, IDictionary<string, string> queryString)static string AddQueryString(string uri, IEnumerable<KeyValuePair<string, StringValues>> queryString)static string AddQueryString(string uri, IEnumerable<KeyValuePair<string, string>> queryString) |
ParseNullableQuery | ParseNullableQuery(p1) | static Dictionary<string, StringValues> ParseNullableQuery(string queryString) |
ParseQuery | ParseQuery(p1) | static Dictionary<string, StringValues> ParseQuery(string queryString) |
QueryStringEnumerable struct
Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable · assembly Microsoft.AspNetCore.WebUtilities
Constructors
new QueryStringEnumerable(string queryString) |
new QueryStringEnumerable(ReadOnlyMemory<char> queryString) |
Ring: new QueryStringEnumerable(args) uses one constructor; the others are chosen by the parameter names: new QueryStringEnumerable().@New([ :param = value ]) or dnNew("QueryStringEnumerable",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetEnumerator | callMethod("GetEnumerator",[]) | QueryStringEnumerable.Enumerator GetEnumerator() |
QueryStringEnumerableEncodedNameValuePair struct
Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+EncodedNameValuePair · assembly Microsoft.AspNetCore.WebUtilities
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
EncodedName | ReadOnlyMemory<char> | read | o.EncodedName |
EncodedValue | ReadOnlyMemory<char> | read | o.EncodedValue |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DecodeName | callMethod("DecodeName",[]) | ReadOnlyMemory<char> DecodeName() |
DecodeValue | callMethod("DecodeValue",[]) | ReadOnlyMemory<char> DecodeValue() |
QueryStringEnumerableEnumerator struct
Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+Enumerator · assembly Microsoft.AspNetCore.WebUtilities
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | QueryStringEnumerable.EncodedNameValuePair | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
ReasonPhrases class static
Microsoft.AspNetCore.WebUtilities.ReasonPhrases · assembly Microsoft.AspNetCore.WebUtilities
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetReasonPhrase | callMethod("GetReasonPhrase",[p1]) | static string GetReasonPhrase(int statusCode) |
StreamHelperExtensions class static
Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions · assembly Microsoft.AspNetCore.WebUtilities
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DrainAsync | DrainAsync([ :stream = …, :cancellationToken = … ])DrainAsync([ :stream = …, :limit = …, :cancellationToken = … ])DrainAsync([ :stream = …, :bytePool = …, :limit = …, :cancellationToken = … ]) | static Task DrainAsync(Stream stream, CancellationToken cancellationToken)static Task DrainAsync(Stream stream, long? limit, CancellationToken cancellationToken)static Task DrainAsync(Stream stream, ArrayPool<byte> bytePool, long? limit, CancellationToken cancellationToken) |
WebEncoders class static
Microsoft.AspNetCore.WebUtilities.WebEncoders · assembly Microsoft.AspNetCore.WebUtilities
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Base64UrlDecode | Base64UrlDecode(value)Base64UrlDecode([ :input = … ])Base64UrlDecode([ :input = …, :offset = …, :count = … ])Base64UrlDecode([ :input = …, :offset = …, :buffer = …, :bufferOffset = …, :count = … ]) | static byte[] Base64UrlDecode(string input)static byte[] Base64UrlDecode(string input, int offset, int count)static byte[] Base64UrlDecode(string input, int offset, char[] buffer, int bufferOffset, int count) |
Base64UrlEncode | Base64UrlEncode(value)Base64UrlEncode([ :input = … ])Base64UrlEncode([ :input = …, :output = … ])Base64UrlEncode([ :input = …, :offset = …, :count = … ])Base64UrlEncode([ :input = …, :offset = …, :output = …, :outputOffset = …, :count = … ]) | static string Base64UrlEncode(byte[] input)static string Base64UrlEncode(byte[] input, int offset, int count)static int Base64UrlEncode(byte[] input, int offset, char[] output, int outputOffset, int count)static string Base64UrlEncode(ReadOnlySpan<byte> input)static int Base64UrlEncode(ReadOnlySpan<byte> input, Span<char> output) |
GetArraySizeRequiredToDecode | callMethod("GetArraySizeRequiredToDecode",[p1]) | static int GetArraySizeRequiredToDecode(int count) |
GetArraySizeRequiredToEncode | callMethod("GetArraySizeRequiredToEncode",[p1]) | static int GetArraySizeRequiredToEncode(int count) |