Instance Method
response(to:)
Returns a tuple with a response and the given data.
func response(to request: URLRequest) -> (URLResponse, Data?)
Parameters
requestThe request coming from a web client.
Return Value
The response and data which are going to be served to the client.