mirror of
https://github.com/Noratrieb/icefun.git
synced 2026-01-16 05:35:02 +01:00
loop
This commit is contained in:
parent
189f24e53b
commit
944f82360f
34 changed files with 95 additions and 134 deletions
|
|
@ -2,12 +2,12 @@ use std::error::Error as StdError;
|
|||
use bytes::{Buf, Bytes};
|
||||
use http::Request;
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
use tracing::{debug, trace};
|
||||
use super::{Http1Transaction, Wants};
|
||||
use crate::body::{Body, DecodedLength, HttpBody};
|
||||
use tracing::{trace};
|
||||
use super::{Http1Transaction};
|
||||
use crate::body::{Body, HttpBody};
|
||||
use crate::common::{task, Future, Pin, Poll, Unpin};
|
||||
use crate::proto::{BodyLength, Conn, Dispatched, MessageHead, RequestHead};
|
||||
use crate::upgrade::OnUpgrade;
|
||||
use crate::proto::{Conn, Dispatched, MessageHead, RequestHead};
|
||||
|
||||
pub(crate) struct Dispatcher<D, Bs: HttpBody, I, T> {
|
||||
conn: Conn<I, Bs::Data, T>,
|
||||
dispatch: D,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue