Package-level declarations

Types

Link copied to clipboard

Implementations need to fetch the url passed in, and return either the body, if there is one, or the HTTP header Location, i.e. if the server sends the request object as a redirect.

Link copied to clipboard
data class RemoteResourceRetrieverInput(val url: String, val method: HttpMethod = HttpMethod.Get, val headers: Map<String, String> = emptyMap<String, String>(), val requestObjectParameters: RequestObjectParameters? = null)

Fetch the url with the method, send requestObjectParameters and set headers for that HTTP request.