Skip to content

RedirectConnectionFactory

[Source]

Creates an HTTPClientConnection to a redirect target. Called by RedirectFollower on cross-origin redirects — same-origin redirects reuse the existing connection.

interface ref RedirectConnectionFactory

Public Functions

apply

[Source]

Return a new connection to target.

fun ref apply(
  target: URI val)
: HTTPClientConnection ref

Parameters

  • target: URI val

Returns