Function notedealer::http_api::activity_json::response
source · [−]pub fn response(obj: Object<'_>) -> HttpResponseExpand description
Short utility function for serializing the given Activity Streams object and
returning it inside a HttpResponse with the appropriate Content-Type
header.