Class NotificationHelper
Usefull to send a post to a server
Inherited Members
Namespace: SecureExchangesSDK.Helpers
Assembly: SecureExchangesSDK.dll
Syntax
public static class NotificationHelper
Methods
POSTWSJson(string, string, out HttpStatusCode)
Post JSON data
Declaration
public static string POSTWSJson(string url, string jsonContent, out HttpStatusCode status)
Parameters
| Type | Name | Description |
|---|---|---|
| string | url | The url to post the data |
| string | jsonContent | The jons content to post |
| HttpStatusCode | status | The status of the answer |
Returns
| Type | Description |
|---|---|
| string |
POSTWs(string, string, string, out HttpStatusCode)
Post content to a web service
Declaration
public static string POSTWs(string url, string content, string contentType, out HttpStatusCode status)
Parameters
| Type | Name | Description |
|---|---|---|
| string | url | The url to post the data |
| string | content | The data to post |
| string | contentType | The content type |
| HttpStatusCode | status | return the status of the post |
Returns
| Type | Description |
|---|---|
| string |