This commit is contained in:
Oliver Gould
2017-07-19 19:53:33 +00:00
parent df589f2fde
commit 0d84c98c89
11 changed files with 488 additions and 159 deletions

View File

@@ -111,13 +111,17 @@ impl Peer for Server {
type Poll = http::request::Head;
fn is_valid_local_stream_id(_id: StreamId) -> bool {
false
id.is_server_initiated()
}
fn is_valid_remote_stream_id(id: StreamId) -> bool {
id.is_client_initiated()
}
fn can_create_local_stream() -> bool {
false
}
fn convert_send_message(
id: StreamId,
headers: Self::Send,