Microsoft.AspNetCore.WebUtilities Namespace

Support for working with web requests/responses, including multi-part. Includes common web encodings.

Classes

Base64UrlTextEncoder
FileBufferingReadStream

A Stream that wraps another stream and enables rewinding by buffering the content as it is read. The content is buffered in memory up to a certain size and then spooled to a temp file on disk. The temp file will be deleted on Dispose.

FileMultipartSection

Represents a file multipart section

FormMultipartSection

Represents a form multipart section

FormReader

Used to read an 'application/x-www-form-urlencoded' form.

HttpRequestStreamReader
HttpResponseStreamWriter

Writes to the Stream using the supplied Encoding. It does not write the BOM and also does not close the stream.

MultipartReader
MultipartSection
MultipartSectionConverterExtensions

Various extensions for converting multipart sections

MultipartSectionStreamExtensions

Various extension methods for dealing with the section body stream

QueryHelpers
ReasonPhrases
StreamHelperExtensions
WebEncoders

Contains utility APIs to assist with common encoding and decoding operations.

Structs

KeyValueAccumulator