January 2019
Intermediate to advanced
520 pages
14h 32m
English
Add the following types to the server.rs file:
use actix::{Addr, System};use actix_web::dev::Payload;use actix_web::error::MultipartError;use actix_web::http::{self, header, StatusCode};use actix_web::multipart::MultipartItem;use actix_web::{ middleware, server, App, Error as WebError, HttpMessage, HttpRequest, HttpResponse,};use askama::Template;use chrono::{DateTime, Utc};use failure::Error;use futures::{future, Future, Stream};use indexmap::IndexMap;use log::debug;use rabbit_actix::queue_actor::{QueueActor, QueueHandler, SendMessage, TaskId};use rabbit_actix::{QrRequest, QrResponse, REQUESTS, RESPONSES};use std::fmt;use std::sync::{Arc, Mutex};
You should be familiar with all the types, because we used most of them in the ...
Read now
Unlock full access