Sends a raw request to the connected host.
The URL parameter is usually just the part after the host, so for http://somehost.com/index.php, it is /index.php. When sending requests to an HTTP proxy server, it should be an absolute URL. For constantHTTPClient.METHOD_OPTIONS requests, * is also allowed. For constantHTTPClient.METHOD_CONNECT requests, it should be the authority component (host:port).
Headers are HTTP request headers. For available HTTP methods, see method.
Sends the body data raw, as a byte array and does not encode it in any way.
Sends a raw request to the connected host. The URL parameter is usually just the part after the host, so for http://somehost.com/index.php, it is /index.php. When sending requests to an HTTP proxy server, it should be an absolute URL. For constant HTTPClient.METHOD_OPTIONS requests, * is also allowed. For constant HTTPClient.METHOD_CONNECT requests, it should be the authority component (host:port). Headers are HTTP request headers. For available HTTP methods, see method. Sends the body data raw, as a byte array and does not encode it in any way.