HttpClient.redirect

Redirects the client.

class HttpClient
final
void
redirect
(
string url
,
HttpStatus status = HttpStatus.found
)

Parameters

url string

The url to redirect the client to.

status HttpStatus

The status of the redirection.

Meta