C# 클래스 Utility.ApiCallComponent

파일 보기 프로젝트 열기: constantcontact/constantcontact-csharp-tutor

공개 메소드들

메소드 설명
CallServiceDelete ( CredentialsDetails credentialsDetails, string contactURI, string &strRequest, string &strResponse ) : string

Method used for making an http DELETE call

CallServiceGet ( CredentialsDetails credentialsDetails, string contactURI, string &strRequest, string &strResponse ) : string

Method used for making an http GET call

CallServicePost ( CredentialsDetails credentialsDetails, string contactURI, string data, string &strRequest, string &strResponse ) : string

Method used for making an http POST call

CallServicePut ( CredentialsDetails credentialsDetails, string contactURI, string data, string &strRequest, string &strResponse ) : string

Method used for making an http PUT call

비공개 메소드들

메소드 설명
PrintRequestString ( WebRequest request, CredentialsDetails credentialsDetails, string postData ) : string

Creates the display string for the current http request

메소드 상세

CallServiceDelete() 공개 정적인 메소드

Method used for making an http DELETE call
public static CallServiceDelete ( CredentialsDetails credentialsDetails, string contactURI, string &strRequest, string &strResponse ) : string
credentialsDetails BusinessObjects.CredentialsDetails An object that encapsulates the Constant Contact credentials
contactURI string The URL for the call
strRequest string The request string representation
strResponse string The response string representation
리턴 string

CallServiceGet() 공개 정적인 메소드

Method used for making an http GET call
public static CallServiceGet ( CredentialsDetails credentialsDetails, string contactURI, string &strRequest, string &strResponse ) : string
credentialsDetails BusinessObjects.CredentialsDetails An object that encapsulates the Constant Contact credentials
contactURI string The URL for the call
strRequest string The request string representation
strResponse string The response string representation
리턴 string

CallServicePost() 공개 정적인 메소드

Method used for making an http POST call
public static CallServicePost ( CredentialsDetails credentialsDetails, string contactURI, string data, string &strRequest, string &strResponse ) : string
credentialsDetails BusinessObjects.CredentialsDetails An object that encapsulates the Constant Contact credentials
contactURI string The URL for the call
data string The post data string representation
strRequest string The request string representation
strResponse string The response string representation
리턴 string

CallServicePut() 공개 정적인 메소드

Method used for making an http PUT call
public static CallServicePut ( CredentialsDetails credentialsDetails, string contactURI, string data, string &strRequest, string &strResponse ) : string
credentialsDetails BusinessObjects.CredentialsDetails An object that encapsulates the Constant Contact credentials
contactURI string The URL for the call
data string The put data string representation
strRequest string The request string representation
strResponse string The response string representation
리턴 string