(
status: StatusCode,
allowed_origin: Option<&str>,
body: &'static str,
)
| 287 | } |
| 288 | |
| 289 | fn json_response( |
| 290 | status: StatusCode, |
| 291 | allowed_origin: Option<&str>, |
| 292 | body: &'static str, |
| 293 | ) -> CallbackResponse { |
| 294 | callback_response(status, allowed_origin, Some("application/json"), body) |
| 295 | } |
| 296 | |
| 297 | async fn handle_callback_request( |
| 298 | req: Request<Incoming>, |
no test coverage detected