V2Response¶
-
class
OC\AppFramework\OCS\
V2Response
¶ Source: lib/private/AppFramework/OCS/V2Response.php#30 Parent: OC\AppFramework\OCS\BaseResponse
Methods¶
-
public
OC\AppFramework\OCS\V2Response::
getStatus
()¶ - The V2 endpoint just passes on status codes.Of course we have to map the OCS specific codes to proper HTTP status codes
Source: lib/private/AppFramework/OCS/V2Response.php#38 Returns: int
-
public
OC\AppFramework\OCS\V2Response::
render
()¶ - Construct the meta part of the responseAnd then late the base class render
Source: lib/private/AppFramework/OCS/V2Response.php#59 Returns: string