You are here: Start » FIL.NET » Function Reference » System » HTTP » FIL.Http_SendBinaryData

FIL.Http_SendBinaryData

Sends a raw HTTP request.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void Http_SendBinaryData
(
	string inUrl,
	IList<string> inHeaders,
	IList<string> inHeadersData,
	FilNet.ByteBuffer inData,
	int inTimeout,
	bool inAllowUntrusted,
	INullable<FilNet.ByteBuffer> outAnswer,
	out int outResponseCode
)

Parameters

Name Type Range Default Description
inUrlstringURL of request.
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.
inDataFilNet.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.
outAnswerFilNet.INullable<FilNet.ByteBuffer>Answer data. This parameter cannot be null.
outResponseCodeintAnswer code. Typically 200 for OK.

Errors

List of possible exceptions:

Error type Description
DomainError Different size of inHeaders and inHeadersData in Http_SendBinaryData.

Function Overrides

See also