Future<void> sendJson(Object object) async { return await send("application/json", utf8.encode(jsonEncode(object))); }