You are here: Start » FIL.NET » Invoke.Http_SendBinaryData
Sends a raw HTTP request.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void Http_SendBinaryData ( string inUrl, List<string> inHeaders, List<string> inHeadersData, Fil.ByteBuffer inData, int inTimeout, bool inAllowUntrusted, Optional<string> inCaCertFile, Conditional<Fil.ByteBuffer> outAnswer, out int outResponseCode )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inUrl | string | URL of request. | ||
![]() | inHeaders | System.Collections.Generic.List<string> | Request headers to send. They will be automatically encoded. | ||
![]() | inHeadersData | System.Collections.Generic.List<string> | Request headers to send. They will be automatically encoded. | ||
![]() | inData | Fil.ByteBuffer | Binary data to be send. | ||
![]() | inTimeout | int | <0, INF> | 60 | Request timeout in seconds. Default value: 60. |
![]() | inAllowUntrusted | bool | False | Whether or not to allow untrusted SSL certificates. Default value: False. | |
![]() | inCaCertFile | Ftl.Optional<string> | File holding one or more certificates to verify the peer with. Default value: ftl::NIL. | ||
![]() | outAnswer | Ftl.Conditional<Fil.ByteBuffer> | Answer data. | ||
![]() | outResponseCode | int | Answer code. Typically 200 for OK. |