Class SparqlRemoteUpdateEndpoint
A Class for connecting to a remote SPARQL Update endpoint and executing Updates against it.
Implements
Inherited Members
Namespace: VDS.RDF.Update
Assembly: dotNetRdf.dll
Syntax
[Obsolete("This class is obsolete and will be removed in a future release. Replaced by VDS.RDF.Update.SparqlUpdateClient.")]
public class SparqlRemoteUpdateEndpoint : BaseEndpoint, IConfigurationSerializable
Constructors
| Edit this page View SourceSparqlRemoteUpdateEndpoint(string)
Creates a new SPARQL Update Endpoint for the given URI.
Declaration
public SparqlRemoteUpdateEndpoint(string endpointUri)
Parameters
Type | Name | Description |
---|---|---|
string | endpointUri | Endpoint URI. |
SparqlRemoteUpdateEndpoint(Uri)
Creates a new SPARQL Update Endpoint for the given URI.
Declaration
public SparqlRemoteUpdateEndpoint(Uri endpointUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | endpointUri | Endpoint URI. |
Properties
| Edit this page View SourceHttpMode
Gets/Sets the HTTP Method used for requests.
Declaration
public override string HttpMode { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Remarks
The SPARQL 1.1 Protocol specification mandates that Update requests may only be POSTed, attempting to alter the HTTP Mode to anything other than POST will result in a SparqlUpdateException.
Methods
| Edit this page View SourceSerializeConfiguration(ConfigurationSerializationContext)
Serializes configuration for the endpoint.
Declaration
public override void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationSerializationContext | context | Serialization Context. |
Overrides
| Edit this page View SourceUpdate(string)
Makes an update request to the remote endpoint.
Declaration
public void Update(string sparqlUpdate)
Parameters
Type | Name | Description |
---|---|---|
string | sparqlUpdate | SPARQL Update. |
Update(string, UpdateCallback, object)
Makes an update request asynchronously to the remote endpoint.
Declaration
public void Update(string sparqlUpdate, UpdateCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
string | sparqlUpdate | SPARQL Update. |
UpdateCallback | callback | Callback to invoke when the update completes. |
object | state | State to pass to the callback. |