Method Send
Send(String, String, String, String, OnRestResponseReceived)
Send a RESTful request
Declaration
void Send(string address, string port, string service, string function, OnRestResponseReceived cb)
Parameters
Type | Name | Description |
---|---|---|
System.String | address | location of the host. IP or URL is accepted |
System.String | port | port to use when requesting |
System.String | service | The name of the service |
System.String | function | The function to call |
OnRestResponseReceived | cb |
Send(String, String, String, String, IEnumerable<RideParameter[]>, OnRestResponseReceived)
Declaration
void Send(string address, string port, string service, string function, IEnumerable<RideParameter[]> ps, OnRestResponseReceived cb)
Parameters
Type | Name | Description |
---|---|---|
System.String | address | |
System.String | port | |
System.String | service | |
System.String | function | |
IEnumerable<RideParameter[]> | ps | |
OnRestResponseReceived | cb |
Send(String, OnRestResponseReceived)
Declaration
void Send(string function, OnRestResponseReceived cb)
Parameters
Type | Name | Description |
---|---|---|
System.String | function | |
OnRestResponseReceived | cb |
Send(String, IEnumerable<RideParameter[]>, OnRestResponseReceived)
Declaration
void Send(string function, IEnumerable<RideParameter[]> ps, OnRestResponseReceived cb)
Parameters
Type | Name | Description |
---|---|---|
System.String | function | |
IEnumerable<RideParameter[]> | ps | |
OnRestResponseReceived | cb |