Merge pull request #209 from kinode-dao/hf/remove-old-http-metadata

http: remove old ws & http metadata
This commit is contained in:
doria 2024-01-26 18:55:33 -03:00 committed by GitHub
commit 5ce4ff0203
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -496,7 +496,7 @@ async fn http_handler(
query_params,
}))
.unwrap(),
metadata: Some("http".into()),
metadata: None,
capabilities: vec![],
}),
lazy_load_blob: Some(LazyLoadBlob {
@ -686,7 +686,7 @@ async fn maintain_websocket(
expects_response: None,
body: serde_json::to_vec(&HttpServerRequest::WebSocketOpen { path, channel_id })
.unwrap(),
metadata: Some("ws".into()),
metadata: None,
capabilities: vec![],
}),
lazy_load_blob: None,
@ -729,7 +729,7 @@ async fn maintain_websocket(
channel_id,
message_type: ws_msg_type,
}).unwrap(),
metadata: Some("ws".into()),
metadata: None,
capabilities: vec![],
}),
lazy_load_blob: Some(LazyLoadBlob {
@ -788,7 +788,7 @@ async fn websocket_close(
inherit: false,
expects_response: None,
body: serde_json::to_vec(&HttpServerRequest::WebSocketClose(channel_id)).unwrap(),
metadata: Some("ws".into()),
metadata: None,
capabilities: vec![],
}),
lazy_load_blob: Some(LazyLoadBlob {