Show / Hide Table of Contents

Class RemoteDocument

Class used to return information about a remote document or context.

Inheritance
object
RemoteDocument
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.JsonLd
Assembly: dotNetRdf.dll
Syntax
public class RemoteDocument

Properties

| Edit this page View Source

ContextUrl

If available, the value of the HTTP Link Header [RFC5988] using the http://www.w3.org/ns/json-ld#context link relation in the response.

Declaration
public Uri ContextUrl { get; set; }
Property Value
Type Description
Uri
Remarks

If the response's content type is application/ld+json, the HTTP Link Header is ignored. If multiple HTTP Link Headers using the http://www.w3.org/ns/json-ld#context link relation are found, the Promise of the LoadDocumentCallback is rejected with a JsonLdError whose code is set to multiple context link headers.

| Edit this page View Source

Document

The retrieved document. This can either be the raw payload or the already parsed document.

Declaration
public object Document { get; set; }
Property Value
Type Description
object
Remarks

This property may be a JToken or a string. If it is a string, the string is parsed to a JToken.

| Edit this page View Source

DocumentUrl

The final URL of the loaded document. This is important to handle HTTP redirects properly.

Declaration
public Uri DocumentUrl { get; set; }
Property Value
Type Description
Uri

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • ContextUrl
    • Document
    • DocumentUrl
  • Extension Methods
Back to top Generated by DocFX