Table of Contents

Class NotificationHelper

Namespace
SecureExchangesSDK.Helpers
Assembly
SecureExchangesSDK.NetCore.dll

Usefull to send a post to a server

public static class NotificationHelper
Inheritance
NotificationHelper
Inherited Members

Methods

POSTWSJson(string, string, out HttpStatusCode)

Post JSON data

public static string POSTWSJson(string url, string jsonContent, out HttpStatusCode status)

Parameters

url string

The url to post the data

jsonContent string

The json content to post

status HttpStatusCode

The status of the answer

Returns

string

POSTWs(string, string, string, out HttpStatusCode)

Post content to a web service

public static string POSTWs(string url, string content, string contentType, out HttpStatusCode status)

Parameters

url string

The url to post the data

content string

The data to post

contentType string

The content type

status HttpStatusCode

return the status of the post

Returns

string