Click or drag to resize

BaseEndpoint Class

Abstract Base class for HTTP endpoints.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class BaseEndpoint : IConfigurationSerializable

The BaseEndpoint type exposes the following members.

Constructors
  NameDescription
Protected methodBaseEndpoint
Creates a new Base Endpoint.
Protected methodBaseEndpoint(Uri)
Creates a new Base Endpoint.
Top
Properties
  NameDescription
Public propertyCredentials
Gets/Sets the HTTP authentication credentials to be used.
Public propertyHttpMode
Gets/Sets the HTTP Mode used for requests.
Public propertyProxy
Gets/Sets a Proxy Server to be used.
Public propertyProxyCredentials
Gets/Sets Credentials to be used for Proxy Server.
Public propertyTimeout
Gets/Sets the HTTP Timeouts used specified in milliseconds.
Public propertyUri
Gets the Endpoints URI.
Public propertyUseCredentialsForProxy
Controls whether the Credentials set with the SetCredentials() method or the Credentialsare also used for a Proxy (if used).
Public propertyUserAgent
Gets/Sets the user agent string to pass in the request header.
Top
Methods
  NameDescription
Protected methodApplyCustomRequestOptions
Method which may be overridden in derived classes to add any additional custom request options/headers to the request.
Protected methodApplyRequestOptions
Applies generic request options (timeout, authorization and proxy server) to a request.
Public methodClearCredentials
Clears any in-use credentials so subsequent requests will not use HTTP authentication.
Public methodClearProxy
Clears any in-use credentials so subsequent requests will not use a proxy server.
Public methodClearProxyCredentials
Clears the in-use proxy credentials so subsequent requests still use the proxy server but without credentials.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerializeConfiguration
Serializes the endpoints Credential and Proxy information.
Public methodSetCredentials(String, String)
Sets the HTTP Digest authentication credentials to be used.
Public methodSetCredentials(String, String, String)
Sets the HTTP Digest authentication credentials to be used.
Public methodSetProxy(String)
Sets a Proxy Server to be used.
Public methodSetProxy(Uri)
Sets a Proxy Server to be used.
Public methodSetProxyCredentials(String, String)
Sets Credentials to be used for Proxy Server.
Public methodSetProxyCredentials(String, String, String)
Sets Credentials to be used for Proxy Server.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also