Skip to main content

json_bytes_response

Function json_bytes_response 

Source
pub fn json_bytes_response(bytes: Arc<Vec<u8>>) -> Response
Expand description

将已序列化的 JSON 字节转为 HTTP 响应(跳过二次序列化)