IHandler¶
-
interface
OCP\Http\WellKnown\
IHandler
¶ - Interface for an app handler that reacts to requests to Nextcloud’s wellknown URLs, e.g. to a WebFinger
Source: lib/public/Http/WellKnown/IHandler.php#37
Methods¶
-
public
OCP\Http\WellKnown\IHandler::
handle
($service, $context, $previousResponse)¶ Source: Parameters: - $service (string) the name of the well known service, e.g. ‘webfinger’
- $context (
OCP\Http\WellKnown\IRequestContext
) - $previousResponse (
OCP\Http\WellKnown\IResponse
| null) the response of the previous handler, if any
Returns: \OCP\Http\WellKnown\IResponse
| null a response object if the request could be handled, null otherwiseSince: 21.0.0