Network client interface for sending HTTP requests.
func send( request: URLRequest, callback: @escaping RequestDataCompletionCallback )
Sends 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 obtaining the result of a request.