You are here: Start » AVL.NET » Invoke.Http_SendCustomRequest
Sends a custom HTTP request.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void Http_SendCustomRequest ( Avl.HTTPRequestMethod inMethod, string inUrl, List<string> inUrlParameters, List<string> inUrlParametersData, 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 | |
|---|---|---|---|---|---|
![]()  | inMethod | Avl.HTTPRequestMethod | GET | Method of the request. Default value: GET. | |
![]()  | inUrl | string | URL of the request. | ||
![]()  | inUrlParameters | System.Collections.Generic.List<string> | URL parameters. They will be automatically encoded. | ||
![]()  | inUrlParametersData | System.Collections.Generic.List<string> | URL parameters. They will be automatically encoded. | ||
![]()  | 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 | Avl.ByteBuffer | Binary data to be sent. | ||
![]()  | 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 | Atl.Optional<string> | File holding one or more certificates to verify the peer with. Default value: atl::NIL. | ||
![]()  | outAnswer | Atl.Conditional<Avl.ByteBuffer> | Answer data. | ||
![]()  | outResponseCode | int | Answer code. Typically 200 for OK. | 


