Share via


http_response::error_code Method

Gets the error code of the response. This is used for errors other than HTTP status codes.

unsigned long error_code() const;

Return Value

The error code.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_response Class