Show / Hide Table of Contents

Class HttpStreamUriParser

Retrieves a Stream from a Uri that points to a web resource.

Inheritance
object
StreamUriParser
SimpleStreamUriParser
HttpStreamUriParser
Implements
IStreamUriParser
Inherited Members
SimpleStreamUriParser.Handles(Uri)
StreamUriParser.Infer(Uri)
StreamUriParser.Infer(string)
StreamUriParser.Get(Uri)
StreamUriParser.GetAsync(Uri)
StreamUriParser.Infer<T>(Uri)
StreamUriParser.Infer<T>(string)
StreamUriParser.GetStream(Uri)
StreamUriParser.GetStreamAsync(Uri)
StreamUriParser.OpenFullTransfer(Uri)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.IO
Assembly: MCART.dll
Syntax
public class HttpStreamUriParser : SimpleStreamUriParser, IStreamUriParser

Properties

| Edit this page View Source

PreferFullTransfer

Gets a value indicating whether this object prefers full transfers when exposing a Stream.

Declaration
public override bool PreferFullTransfer { get; }
Property Value
Type Description
bool
Overrides
StreamUriParser.PreferFullTransfer
| Edit this page View Source

SchemeList

Enumerates the protocols supported by this HttpStreamUriParser.

Declaration
protected override IEnumerable<string> SchemeList { get; }
Property Value
Type Description
IEnumerable<string>
Overrides
SimpleStreamUriParser.SchemeList

Methods

| Edit this page View Source

Open(Uri)

Opens a Stream from the specified Uri.

Declaration
public override sealed Stream Open(Uri uri)
Parameters
Type Name Description
Uri uri

The web address to resolve.

Returns
Type Description
Stream

A Stream that allows obtaining the resource pointed to by the specified Uri.

Overrides
StreamUriParser.Open(Uri)
| Edit this page View Source

OpenFullTransferAsync(Uri)

Opens a Stream from the specified Uri, making a full transfer to the computer's memory.

Declaration
public override Task<Stream?> OpenFullTransferAsync(Uri uri)
Parameters
Type Name Description
Uri uri

The web address to resolve.

Returns
Type Description
Task<Stream>

A Stream that allows obtaining the resource pointed to by the specified Uri.

Overrides
StreamUriParser.OpenFullTransferAsync(Uri)

Implements

IStreamUriParser

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX