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