client:get_status

March 26, 2020 Contributors

Name

client:get_status — Return the status of an HTTP request

Synopsis

require('msys.http.client')

client:get_status();

Description

Return the status code and description of an HTTP request.

local code, status = client:get_status();

See Also

msys.http.client.new, client:set_timeout, client:set_header, client:do_request, client:get_body, client:parse_headers client:get_headers