Responses
in package
FinalYes
Predefined responses used mainly for caching
Table of Contents
Methods
- ok() : Response
- Spoof an OK response from TikTok
- __buildResponse() : Response
Methods
ok()
Spoof an OK response from TikTok
public
static ok() : Response
Return values
Response__buildResponse()
private
static __buildResponse(int $code, int $statusCode[, string $contentType = 'json' ]) : Response
Parameters
- $code : int
- $statusCode : int
- $contentType : string = 'json'