Click or drag to resize

IUriLoaderCache.ToCache Method

Associates an ETag (if any) with the Request and Response URIs plus returns an IRdfHandler that can be used to write to the cache.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
IRdfHandler ToCache(
	Uri requestUri,
	Uri responseUri,
	string etag
)

Parameters

requestUri
Type: System.Uri
URI from which the RDF Graph was requested.
responseUri
Type: System.Uri
The actual URI which responded to the request.
etag
Type: System.String
ETag of the response (if any).

Return Value

Type: IRdfHandler
Either an instance of an IRdfHandler that will do the caching or null if no caching is possible.
See Also