C# Class TodoPagoConnector.RestConnector

Datei anzeigen Open project: TodoPago/SDK-.NET Class Usage Examples

Protected Properties

Property Type Description
client System.Net.WebClient
endpoint string
headders string>.Dictionary

Public Methods

Method Description
RestConnector ( string endpoint, string>.Dictionary headders ) : System.Collections.Generic

Protected Methods

Method Description
generateHttpWebRequest ( String URL, String contentType, String method, System.Boolean withApiKey ) : HttpWebRequest
toDictionary ( XmlDocument xd ) : object>.Dictionary
toDictionary ( XmlNode xd ) : object>.Dictionary

Method Details

RestConnector() public method

public RestConnector ( string endpoint, string>.Dictionary headders ) : System.Collections.Generic
endpoint string
headders string>.Dictionary
return System.Collections.Generic

generateHttpWebRequest() protected method

protected generateHttpWebRequest ( String URL, String contentType, String method, System.Boolean withApiKey ) : HttpWebRequest
URL String
contentType String
method String
withApiKey System.Boolean
return System.Net.HttpWebRequest

toDictionary() protected method

protected toDictionary ( XmlDocument xd ) : object>.Dictionary
xd System.Xml.XmlDocument
return object>.Dictionary

toDictionary() protected method

protected toDictionary ( XmlNode xd ) : object>.Dictionary
xd System.Xml.XmlNode
return object>.Dictionary

Property Details

client protected_oe property

protected WebClient,System.Net client
return System.Net.WebClient

endpoint protected_oe property

protected string endpoint
return string

headders protected_oe property

protected Dictionary headders
return string>.Dictionary