Adds a header to the response.
Sets the status of the response.
Sets the status text of the response.
Writes the given string content to the body of the response. If this response has not yet written its status line and headers, it will do that first.
The socket that's used to send data to the client.
An associative array of headers.
The status code.
A short textual representation of the status.
The data that the HTTP server will send back to clients.