Show / Hide Table of Contents

Enum HttpMode

An enumeration of the remote access modes supported by the SparqlQueryClient class.

Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public enum HttpMode

Fields

Name Description
Auto

Use GET by default, switching to POST when the query string is too long or the query cannot be encoded as an HTTP request parameter.

Get

Always use HTTP GET. This may cause queries to fail if the query string is too long or the SPARQL query contains characters that cannot be encoded as an HTTP request parameter.

Post

Always use HTTP POST.

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<HttpMode>(HttpMode)
  • Edit this page
  • View Source
In this article
  • Fields
  • Extension Methods
Back to top Generated by DocFX