Property | Type | Description | |
---|---|---|---|
Connect | void |
Method | Description | |
---|---|---|
Execute ( string method, |
Execute an HTTP request.
|
|
HttpSocket ( ISocketEventListener listener ) : System |
Create a socket. This starts a thread for background processing, but the thread is mostly paused waiting for new requests.
|
Method | Description | |
---|---|---|
Connect ( |
Generally should not be used.
|
public Execute ( string method, |
||
method | string | The HTTP method verb. E.g. "GET", "POST", etc. |
URL | The URL to request. MUST be for the same host as the first request. | |
body | byte | Any data to post with the request |
offset | int | The offset into body from which to start |
len | int | The number of bytes to read from body, starting at offset |
contentType | string | The MIME type of the supplied body |
return | void |
public HttpSocket ( ISocketEventListener listener ) : System | ||
listener | ISocketEventListener | |
return | System |