Click or drag to resize

BaseAsyncHttpConnector.UpdateGraphAsync Method

Helper method for doing async update operations, callers just need to provide an appropriately prepared HTTP request and a RDF writer which will be used to write the data to the request body.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
protected void UpdateGraphAsync(
	HttpWebRequest request,
	IRdfWriter writer,
	Uri graphUri,
	IEnumerable<Triple> ts,
	AsyncStorageCallback callback,
	Object state
)

Parameters

request
Type: System.Net.HttpWebRequest
HTTP Request.
writer
Type: VDS.RDF.IRdfWriter
RDF writer.
graphUri
Type: System.Uri
URI of the Graph to update.
ts
Type: System.Collections.Generic.IEnumerable<Triple>
Triples.
callback
Type: VDS.RDF.Storage.AsyncStorageCallback
Callback.
state
Type: System.Object
State to pass to the callback.
See Also