You are here: Start » AVL.NET » Invoke.Http_SendBinaryData

Invoke.Http_SendBinaryData

Sends a raw HTTP request.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void Http_SendBinaryData
(
	string inUrl,
	List<string> inHeaders,
	List<string> inHeadersData,
	Avl.ByteBuffer inData,
	int inTimeout,
	bool inAllowUntrusted,
	Optional<string> inCaCertFile,
	Conditional<Avl.ByteBuffer> outAnswer,
	out int outResponseCode
)

Parameters

Name Type Range Default Description
inUrlstringURL of request.
inHeadersSystem.Collections.Generic.List<string>Request headers to send. They will be automatically encoded.
inHeadersDataSystem.Collections.Generic.List<string>Request headers to send. They will be automatically encoded.
inDataAvl.ByteBufferBinary data to be send.
inTimeoutint<0, INF>60Request timeout in seconds. Default value: 60.
inAllowUntrustedboolFalseWhether or not to allow untrusted SSL certificates. Default value: False.
inCaCertFileAtl.Optional<string>File holding one or more certificates to verify the peer with. Default value: atl::NIL.
outAnswerAtl.Conditional<Avl.ByteBuffer>Answer data.
outResponseCodeintAnswer code. Typically 200 for OK.

See also