ApiHelper(HttpMethod, ContentType, String, Int32, Int32, String, String) Constructor

建構子

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Api.ApiHelper (in eBizprise.Framework.Api.ApiHelper.dll) Version: 25.0.1.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
C#
public ApiHelper(
	HttpMethod httpMethod,
	ContentType contentType,
	string proxyIp,
	int proxyPort,
	int timeout,
	string apiUrl,
	string parameters
)

Parameters

httpMethod  HttpMethod
傳送方式
contentType  ContentType
媒體類型
proxyIp  String
代理伺服器位址
proxyPort  Int32
代理伺服器連接埠
timeout  Int32
連線逾時
apiUrl  String
API位址
parameters  String
API參數

Revision History

DateVersionDescription
2020/04/201.0.1.0初版
2020/05/211.0.3.0加入模擬回應
2020/07/091.0.7.0增加GET方法支援
2021/05/051.0.16.0增加自訂媒體類型,預設為Json

See Also