NetworkRequest
constructor(url: String, method: String = HTTP_METHOD_GET, headers: NetworkHeaders = NetworkHeaders.EMPTY, body: NetworkRequestBody? = null)
Parameters
url
The URL to fetch.
method
The HTTP method.
headers
The HTTP headers.
body
The HTTP request body.