Class RemoteDocument
Class used to return information about a remote document or context.
Inheritance
System.Object
RemoteDocument
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.JsonLd
Assembly: dotNetRDF.dll
Syntax
public class RemoteDocument
Properties
| Improve this Doc View SourceContextUrl
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 |
---|---|
System.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.
|
Improve this Doc
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 |
---|---|
System.Object |
Remarks
This property may be a JToken or a string. If it is a string, the string is parsed to a JToken.
|
Improve this Doc
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 |
---|---|
System.Uri |