Nextcloud PHP API (master)

RedirectResponse extends Response
in package

Redirects to a different URL

Tags
since
7.0.0
template

S of int

template

H of array<string, mixed>

template-extends

Response<int, array<string, mixed>>

Table of Contents

Properties

$redirectURL  : mixed

Methods

__construct()  : mixed
Creates a response that redirects to a url
getRedirectURL()  : string

Properties

Methods

__construct()

Creates a response that redirects to a url

public __construct(string $redirectURL[, S $status = Http::STATUS_SEE_OTHER ][, H $headers = [] ]) : mixed
Parameters
$redirectURL : string

the url to redirect to

$status : S = Http::STATUS_SEE_OTHER
$headers : H = []
Tags
since
7.0.0

getRedirectURL()

public getRedirectURL() : string
Tags
since
7.0.0
Return values
string

the url to redirect


        
On this page

Search results