Class BaseHttpConnector
Abstract Base Class for HTTP based Storage API implementations.
Inheritance
System.Object
BaseHttpConnector
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseHttpConnector
Constructors
|
Improve this Doc
View Source
BaseHttpConnector()
Creates a new connector.
Declaration
protected BaseHttpConnector()
Properties
|
Improve this Doc
View Source
Password
Password for accessing the Store.
Declaration
protected string Password { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Proxy
Gets/Sets a Proxy Server to be used.
Declaration
public IWebProxy Proxy { get; set; }
Property Value
Type |
Description |
System.Net.IWebProxy |
|
|
Improve this Doc
View Source
ProxyCredentials
Gets/Sets Credentials to be used for Proxy Server.
Declaration
public ICredentials ProxyCredentials { get; set; }
Property Value
Type |
Description |
System.Net.ICredentials |
|
|
Improve this Doc
View Source
Timeout
Gets/Sets the HTTP Timeouts used specified in milliseconds.
Declaration
public int Timeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Username
Password for accessing the Store.
Declaration
protected string Username { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
ApplyRequestOptions(HttpWebRequest)
Helper method which applies standard request options to the request, these currently include proxy settings and HTTP timeout.
Declaration
protected HttpWebRequest ApplyRequestOptions(HttpWebRequest request)
Parameters
Type |
Name |
Description |
System.Net.HttpWebRequest |
request |
HTTP Web Request. |
Returns
Type |
Description |
System.Net.HttpWebRequest |
HTTP Web Request with standard options applied. |
|
Improve this Doc
View Source
ClearProxy()
Clears any in-use credentials so subsequent requests will not use a proxy server.
Declaration
|
Improve this Doc
View Source
ClearProxyCredentials()
Clears the in-use proxy credentials so subsequent requests still use the proxy server but without credentials.
Declaration
public void ClearProxyCredentials()
|
Improve this Doc
View Source
SerializeStandardConfig(INode, ConfigurationSerializationContext)
Helper method which adds standard configuration information (proxy and timeout settings) to serialized configuration.
Declaration
protected void SerializeStandardConfig(INode objNode, ConfigurationSerializationContext context)
Parameters
|
Improve this Doc
View Source
SetCredentials(String, String)
Declaration
public void SetCredentials(string username, string password)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
password |
|
|
Improve this Doc
View Source
SetProxy(String)
Sets a Proxy Server to be used.
Declaration
public void SetProxy(string address)
Parameters
Type |
Name |
Description |
System.String |
address |
Proxy Address. |
|
Improve this Doc
View Source
SetProxy(Uri)
Sets a Proxy Server to be used.
Declaration
public void SetProxy(Uri address)
Parameters
Type |
Name |
Description |
System.Uri |
address |
Proxy Address. |
|
Improve this Doc
View Source
SetProxyCredentials(String, String)
Sets Credentials to be used for Proxy Server.
Declaration
public void SetProxyCredentials(string username, string password)
Parameters
Type |
Name |
Description |
System.String |
username |
Username. |
System.String |
password |
Password. |
|
Improve this Doc
View Source
SetProxyCredentials(String, String, String)
Sets Credentials to be used for Proxy Server.
Declaration
public void SetProxyCredentials(string username, string password, string domain)
Parameters
Type |
Name |
Description |
System.String |
username |
Username. |
System.String |
password |
Password. |
System.String |
domain |
Domain. |
Extension Methods