IHandler
in
Interface for an app handler that reacts to requests to Nextcloud's well known URLs, e.g. to a WebFinger
Tags
Table of Contents
Methods
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
Return values
IResponse|null —a response object if the request could be handled, null otherwise