code

 $

resp


->code 
([

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.