| 
    TradeMUX SDK Documentation
    1.0
    
   TradeMUX SDK Documentation 
   | 
 
| int WebRequest | ( | string | method, | 
| string | url, | ||
| string | cookie, | ||
| string | referer, | ||
| int | timeout, | ||
| char[] | data, | ||
| int | data_size, | ||
| out char[] | result, | ||
| out string | result_headers | ||
| ) | 
Sends an HTTP request to a specified server. Requests are of type "key=value" using the header Content-Type: application/x-www-form-urlencoded
| method | HTTP method | 
| url | URL | 
| cookie | Cookie value | 
| referer | Value of the Referer header of the HTTP request | 
| timeout | Timeout in milliseconds | 
| data | Data array of the HTTP message body | 
| data_size | Size of the data[] array | 
| result | An array containing server response data | 
| result_headers | Server response headers |