API Reference
Class
HtmlResolvedResource
Immutable bytes returned by an application-supplied HTML resource resolver.
Inheritance
- Object
- HtmlResolvedResource
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Accepted by parameters 1
- Method HtmlResourceSession.TryGet
Constructors
HtmlResolvedResource 2 overloads
public HtmlResolvedResource(Byte[] bytes, String contentType) #Creates a resolved resource snapshot.
Parameters
- bytes System.Byte[]
- contentType System.String
public HtmlResolvedResource(Byte[] bytes, String contentType, Uri? finalUri, Int32 redirectCount = 0) #Creates a resolved resource snapshot with optional redirect provenance. Network-backed resolvers should report the final URI and redirect count so archive and host policies can enforce their redirect boundary.
Parameters
- bytes System.Byte[]
- contentType System.String
- finalUri System.Uri?
- redirectCount System.Int32 = 0
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?