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