HttpStatusCode

interface HttpStatusCode

代表一个 HTTP 响应状态码。

封装了状态码的数值和其标准描述文本。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getDescription(): String

获取状态码的描述文本。

Link copied to clipboard
abstract fun getValue(): Int

获取状态码的整数值。