You are here: Start » AVL.NET » AVS.Http_SendBinaryData Method
AVS.Http_SendBinaryData Method
Sends a raw HTTP request.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void Http_SendBinaryData ( string inUrl, 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 | |
---|---|---|---|---|---|
![]() | inUrl | string | URL of request. | ||
![]() | inHeaders | System.Collections.Generic.IList<string> | Request headers to send. They will be automatically encoded. | ||
![]() | inHeadersData | System.Collections.Generic.IList<string> | Request headers to send. They will be automatically encoded. | ||
![]() | inData | AvlNet.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. | |
![]() | outAnswer | AvlNet.INullable<AvlNet.ByteBuffer> | Answer data. This parameter cannot be null. | ||
![]() | outResponseCode | int | Answer code. Typically 200 for OK. |