http_response::error_code 方法

取得回應的錯誤碼。 這是用於 HTTP 狀態碼以外的錯誤。

unsigned long error_code() const;

傳回值

錯誤碼。

需求

**標頭:**http_msg.h

**命名空間:**web::http

請參閱

參考

http_response 類別