net/response.sh¶
Response related structs and functions.
- Response()¶
Response to http request.
- Response_to_string()¶
String version of the response.
- Response_write()¶
Buffer the string into the response.
- response_make_bad_request()¶
Create a response for 400.
- response_make_internal_server_error()¶
Create a response for 500.
- response_make_not_found()¶
Create a response for 404.
- response_make_ok()¶
Create a response for 200.