跳到主要内容

set_status

设置响应码

@see HttpStatus

声明

void set_status(Response self, enum HttpStatus status)

参数

参数名描述
self
status

返回值

使用方式

返回文档