메소드 | 설명 | |
---|---|---|
AddHeader ( string name, string value ) : void | ||
CaptureToJsonString ( ) : string | ||
GenerateSignature ( HttpMethod method, |
||
RemoveHeader ( string name ) : void | ||
SetAcceptHeader ( string mediaType ) : void | ||
SetPostData ( string content, |
||
SetUri ( |
||
SetUri ( string sUri ) : void | ||
SetupAccessRequest ( string controller, string action, string postData = "", string postDataMediaType = "application/json", string accept = "application/json" ) : void | ||
cpHttpClient ( ) : System | ||
cpHttpClient ( string server, string instance, string key, string secret = "" ) : System |
Supplying a secret key will trigger Signature authentication method
|
메소드 | 설명 | |
---|---|---|
AddAccessAPIHeaders ( string acceptHeaderValue ) : void | ||
CleanupServer ( string server ) : string |
public AddHeader ( string name, string value ) : void | ||
name | string | |
value | string | |
리턴 | void |
public GenerateSignature ( HttpMethod method, |
||
method | HttpMethod | |
requestUri | ||
postData | string | |
dateTimeSent | string | |
리턴 | string |
public SetAcceptHeader ( string mediaType ) : void | ||
mediaType | string | |
리턴 | void |
public SetPostData ( string content, |
||
content | string | |
encoding | ||
mediaType | string | |
리턴 | void |
public SetupAccessRequest ( string controller, string action, string postData = "", string postDataMediaType = "application/json", string accept = "application/json" ) : void | ||
controller | string | |
action | string | |
postData | string | |
postDataMediaType | string | |
accept | string | |
리턴 | void |
public cpHttpClient ( string server, string instance, string key, string secret = "" ) : System | ||
server | string | |
instance | string | |
key | string | |
secret | string | |
리턴 | System |