|
TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
| int WebRequest | ( | string | method, |
| string | url, | ||
| string | headers, | ||
| int | timeout, | ||
| char[] | data, | ||
| out char[] | result, | ||
| out string | result_headers | ||
| ) |
Sends an HTTP request to a specified server. Requests may be of any type specifying the custom set of headers for a more flexible interaction with various Web services
| method | HTTP method |
| url | URL |
| headers | Request headers of type "key: value", separated by a line break "\r\n" |
| timeout | Timeout in milliseconds |
| data | Data array of the HTTP message body |
| result | An array containing server response data |
| result_headers | Server response headers |