You are here: Start » AVL.NET » AVS.Http_SendCustomRequest Method

AVS.Http_SendCustomRequest Method

Sends a custom HTTP request.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void Http_SendCustomRequest
(
	AvlNet.HTTPRequestMethod inMethod,
	string inUrl,
	IList<string> inUrlParameters,
	IList<string> inUrlParametersData,
	IList<string> inHeaders,
	IList<string> inHeadersData,
	AvlNet.ByteBuffer inData,
	int inTimeout,
	bool inAllowUntrusted,
	INullable<AvlNet.ByteBuffer> outAnswer,
	out int outResponseCode
)

Parameters

Name Type Range Default Description
inMethodAvlNet.HTTPRequestMethodGETMethod of the request. Default value: GET.
inUrlstringURL of the request.
inUrlParametersSystem.Collections.Generic.IList<string>URL parameters. They will be automatically encoded.
inUrlParametersDataSystem.Collections.Generic.IList<string>URL parameters. They will be automatically encoded.
inHeadersSystem.Collections.Generic.IList<string>Request headers to send. They will be automatically encoded.
inHeadersDataSystem.Collections.Generic.IList<string>Request headers to send. They will be automatically encoded.
inDataAvlNet.ByteBufferBinary data to be sent.
inTimeoutint<0, INF>60Request timeout in seconds. Default value: 60.
inAllowUntrustedboolFalseWhether or not to allow untrusted SSL certificates. Default value: False.
outAnswerAvlNet.INullable<AvlNet.ByteBuffer>Answer data. This parameter cannot be null.
outResponseCodeintAnswer code. Typically 200 for OK.

Function Overrides

See also