• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How I can extend CodeIgniter\HTTP\Response::statusCodes

(12-19-2019, 11:57 AM)InsiteFX Wrote: You need to read the CodeIgniter 4 User Guide.

Creating Core System Classes

I have the same question. I am using Facebook API SDK for web authentication. I don't want to change API library so it would return or override different status codes. E..g. - HTTP status code "190" is returned, if AccessToken has expired. 

reading itself will not be enough to fix it Smile 

And I did not find any direct documentation on this. I also do not want to duplicate HTTP Response Class just to add single status code.

Messages In This Thread
RE: How I can extend CodeIgniter\HTTP\Response::statusCodes - by arnisraido - 06-28-2020, 02:34 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.