메소드 | 설명 | |
---|---|---|
DeleteRequest ( |
Sends a DELETE request
|
|
GetRequest ( |
Sends a GET request
|
|
GetRequest ( |
Sends a GET request
|
|
PostRequest ( string postData, string endpoint, IAuthenticationConfiguration authentification, |
Sends a POST request. Providing null for the callback means this is intended to be synchronous. Any exceptions will be thrown and must be handled in the main thread. |
|
PostRequest ( string postData, string endpoint, IAuthenticationConfiguration authentification, string x_experience_api_version ) : string |
Sends a POST request
|
|
PutRequest ( string putData, |
Sends a PUT request with the default content-type of "application/json"
|
|
PutRequest ( string putData, |
Sends a PUT request
|
|
PutRequest ( string putData, |
Sends a PUT request
|
|
ThrowHttpException ( |
Handles interpreting WebClient exceptions
|
메소드 | 설명 | |
---|---|---|
AddAuthHeader ( |
||
AddExperienceVersionHeader ( |
||
SendRequest ( |
||
SendRequest ( |
||
SendRequest ( |
||
ToQueryString ( |
public static DeleteRequest ( |
||
deleteData | A name-value pair collection of query parameters | |
endpoint | string | |
authentification | IAuthenticationConfiguration | |
x_experience_api_version | string | |
리턴 | string |
public static GetRequest ( |
||
getData | A name-value pair collection of query parameters | |
endpoint | string | |
authentification | IAuthenticationConfiguration | |
whc | Allows for retrieval of the webheaders if they are needed. | |
x_experience_api_version | string | |
리턴 | string |
public static GetRequest ( |
||
getData | A name-value pair collection of query parameters | |
endpoint | string | |
authentification | IAuthenticationConfiguration | |
x_experience_api_version | string | |
리턴 | string |
public static PostRequest ( string postData, string endpoint, IAuthenticationConfiguration authentification, |
||
postData | string | A string of data to post |
endpoint | string | The endpoint to send the statement to |
authentification | IAuthenticationConfiguration | An IAuthentificationConfiguration. Only Basic is currently supported. |
callback | The asynchronous callback | |
x_experience_api_version | string | |
리턴 | string |
public static PostRequest ( string postData, string endpoint, IAuthenticationConfiguration authentification, string x_experience_api_version ) : string | ||
postData | string | A string of data to post |
endpoint | string | The endpoint to send the statement to |
authentification | IAuthenticationConfiguration | An IAuthentificationConfiguration. Only Basic is currently supported. |
x_experience_api_version | string | |
리턴 | string |
public static PutRequest ( string putData, |
||
putData | string | The data to PUT to the server |
queryParameters | A name-value pair collection of query parameters | |
endpoint | string | |
authentification | IAuthenticationConfiguration | |
x_experience_api_version | string | |
리턴 | string |
public static PutRequest ( string putData, |
||
putData | string | The data to PUT to the server |
queryParameters | A name-value pair collection of query parameters | |
endpoint | string | |
authentification | IAuthenticationConfiguration | |
contentType | string | |
x_experience_api_version | string | |
리턴 | string |
public static PutRequest ( string putData, |
||
putData | string | The data to PUT to the server |
queryParameters | A name-value pair collection of query parameters | |
endpoint | string | |
authentification | IAuthenticationConfiguration | |
contentType | string | |
eTag | string | |
x_experience_api_version | string | |
리턴 | string |
public static ThrowHttpException ( |
||
e | The original exception thrown | |
리턴 | void |