Exemplo n.º 1
0
 public ApiSender(string apiRoot = "", ApiProtocol protocol = ApiProtocol.https, ApiSendDataType sendType = ApiSendDataType.Json)
 {
     _apiRoot         = apiRoot;
     _apiRootProtocol = protocol;
     _sendType        = sendType;
     _headerValue     = new Dictionary <string, string>();
 }
Exemplo n.º 2
0
 public void SetApiSendContentType(ApiSendDataType sendType)
 {
     _sendType = sendType;
 }