default type
@@ -233,7 +233,7 @@ pub trait ResponseType<M> where Self: Actor {
/// `StreamHandler` is an extension of a `Handler` with several stream specific
/// methods.
#[allow(unused_variables)]
-pub trait StreamHandler<M, E>: Handler<M, E> + ResponseType<M>
+pub trait StreamHandler<M, E=()>: Handler<M, E> + ResponseType<M>
where Self: Actor
{
/// Method is called when stream get polled first time.
