HttpRedirect

class HttpRedirect

HttpClient feature that handles http redirect

Constructors

Link copied to clipboard
fun HttpRedirect()

Types

Link copied to clipboard
object Feature : HttpClientFeature<HttpRedirect, HttpRedirect>

Properties

Link copied to clipboard
var allowHttpsDowngrade: Boolean

true value allows client redirect with downgrade from https to plain http.

Link copied to clipboard
var checkHttpMethod: Boolean

Check if the HTTP method is allowed for redirect. Only HttpMethod.Get and HttpMethod.Head is allowed for implicit redirect.