$ resp ->code ([ code ])
resp
code
When invoked without any parameters, this method returns the object's response code. Sets the status code of the object when invoked with an argument.
Copyright © 2001 O'Reilly & Associates. All rights reserved.