You are here: Start » FIL.NET » FIS.Http_SendRequest_GET_ByteBuffer Method
FIS.Http_SendRequest_GET_ByteBuffer Method
Sends a GET request to server and receives a binary answer.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void Http_SendRequest_GET_ByteBuffer ( string inUrl, IList<string> inHeaders, IList<string> inHeadersData, IList<string> inFields, IList<string> inFieldsData, int inTimeout, bool inAllowUntrusted, NullableRef<string> inCaCertFile, INullable<FilNet.ByteBuffer> outAnswer, out int outResponseCode )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inUrl | string | URL of request. Without parameters. | |||
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. | |||
inFields | System.Collections.Generic.IList<string> | Request data to send. It will be automatically encoded. | |||
inFieldsData | System.Collections.Generic.IList<string> | Request data to send. It will be automatically encoded. | |||
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 | FilNet.NullableRef<string> | File holding one or more certificates to verify the peer with. Default value: ftl::NIL. | |||
outAnswer | FilNet.INullable<FilNet.ByteBuffer> | Answer as binary byte buffer. This parameter cannot be null. | |||
outResponseCode | int | Answer code. Typically 200 for OK. |