pub fn make_grading_request_sender(
jwt_key: Arc<JwtKey>,
base_url: String,
) -> impl Fn(Url, &ExerciseTask, &ExerciseTaskSubmission) -> BoxFuture<'static, ModelResult<ExerciseTaskGradingResult>>Expand description
Sends a submission to an exercise service for grading, with the claims the service needs to report back and to read a file-typed answer’s files.
base_url is the host’s own public base url, so both the callback and the file urls point at a
host the service can reach.