Nextcloud PHP API (master)

IHandler

Interface for an app handler that reacts to requests to Nextcloud's well known URLs, e.g. to a WebFinger

Tags
ref

https://tools.ietf.org/html/rfc5785

since
21.0.0

Table of Contents

Methods

handle()  : IResponse|null

Methods

handle()

public handle(string $service, IRequestContext $context, IResponse|null $previousResponse) : IResponse|null
Parameters
$service : string

the name of the well known service, e.g. 'webfinger'

$context : IRequestContext
$previousResponse : IResponse|null

the response of the previous handler, if any

Tags
since
21.0.0
Return values
IResponse|null

a response object if the request could be handled, null otherwise


        
On this page

Search results