C# Class VersionOne.SDK.APIClient.V1CredsAPIConnector

Inheritance: IAPIConnector
Afficher le fichier Open project: versionone/VersionOne.SDK.NET.APIClient

Protected Properties

Свойство Type Description
_creds System.Net.ICredentials

Private Properties

Свойство Type Description
CreateRequest System.Net.HttpWebRequest
FormatAssemblyUserAgent string

Méthodes publiques

Méthode Description
BeginRequest ( string apipath ) : Stream
DebugReq ( HttpWebRequest req, WebResponse resp ) : void
EndRequest ( string apipath, string contentType ) : Stream
GetData ( ) : Stream
GetData ( string apipath ) : Stream
HttpGet ( string apipath, bool refreshTokenIfNeeded = true, string contentType = "text/xml" ) : Stream
HttpPost ( string apipath, byte body, string contentType = "text/xml" ) : Stream
SendData ( string apipath, string data ) : Stream
SetUpstreamUserAgent ( string userAgent ) : void
V1CredsAPIConnector ( string urlPrefix, System creds = null, ProxyProvider proxy = null ) : System

Private Methods

Méthode Description
CreateRequest ( string url, string method = "GET", string contenttype = "text/xml" ) : HttpWebRequest
FormatAssemblyUserAgent ( Assembly a, string upstream = null ) : string

Method Details

BeginRequest() public méthode

public BeginRequest ( string apipath ) : Stream
apipath string
Résultat Stream

DebugReq() public méthode

public DebugReq ( HttpWebRequest req, WebResponse resp ) : void
req System.Net.HttpWebRequest
resp System.Net.WebResponse
Résultat void

EndRequest() public méthode

public EndRequest ( string apipath, string contentType ) : Stream
apipath string
contentType string
Résultat Stream

GetData() public méthode

public GetData ( ) : Stream
Résultat Stream

GetData() public méthode

public GetData ( string apipath ) : Stream
apipath string
Résultat Stream

HttpGet() public méthode

public HttpGet ( string apipath, bool refreshTokenIfNeeded = true, string contentType = "text/xml" ) : Stream
apipath string
refreshTokenIfNeeded bool
contentType string
Résultat Stream

HttpPost() public méthode

public HttpPost ( string apipath, byte body, string contentType = "text/xml" ) : Stream
apipath string
body byte
contentType string
Résultat Stream

SendData() public méthode

public SendData ( string apipath, string data ) : Stream
apipath string
data string
Résultat Stream

SetUpstreamUserAgent() public méthode

public SetUpstreamUserAgent ( string userAgent ) : void
userAgent string
Résultat void

V1CredsAPIConnector() public méthode

public V1CredsAPIConnector ( string urlPrefix, System creds = null, ProxyProvider proxy = null ) : System
urlPrefix string
creds System
proxy ProxyProvider
Résultat System

Property Details

_creds protected_oe property

protected ICredentials,System.Net _creds
Résultat System.Net.ICredentials