Network client interface for sending HTTP requests.
func send( request: URLRequest, callback: @escaping RequestDataCompletionCallback )
Function for sending a request and getting the result through the callback. The results will be processed in the callback.
request
URLRequest
HTTP request.
callback
RequestDataCompletionCallback
Callback function when receiving the result of a request.