mirror of
https://github.com/uqbar-dao/nectar.git
synced 2025-01-06 01:25:29 +03:00
Merge pull request #209 from kinode-dao/hf/remove-old-http-metadata
http: remove old ws & http metadata
This commit is contained in:
commit
5ce4ff0203
@ -496,7 +496,7 @@ async fn http_handler(
|
|||||||
query_params,
|
query_params,
|
||||||
}))
|
}))
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
metadata: Some("http".into()),
|
metadata: None,
|
||||||
capabilities: vec![],
|
capabilities: vec![],
|
||||||
}),
|
}),
|
||||||
lazy_load_blob: Some(LazyLoadBlob {
|
lazy_load_blob: Some(LazyLoadBlob {
|
||||||
@ -686,7 +686,7 @@ async fn maintain_websocket(
|
|||||||
expects_response: None,
|
expects_response: None,
|
||||||
body: serde_json::to_vec(&HttpServerRequest::WebSocketOpen { path, channel_id })
|
body: serde_json::to_vec(&HttpServerRequest::WebSocketOpen { path, channel_id })
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
metadata: Some("ws".into()),
|
metadata: None,
|
||||||
capabilities: vec![],
|
capabilities: vec![],
|
||||||
}),
|
}),
|
||||||
lazy_load_blob: None,
|
lazy_load_blob: None,
|
||||||
@ -729,7 +729,7 @@ async fn maintain_websocket(
|
|||||||
channel_id,
|
channel_id,
|
||||||
message_type: ws_msg_type,
|
message_type: ws_msg_type,
|
||||||
}).unwrap(),
|
}).unwrap(),
|
||||||
metadata: Some("ws".into()),
|
metadata: None,
|
||||||
capabilities: vec![],
|
capabilities: vec![],
|
||||||
}),
|
}),
|
||||||
lazy_load_blob: Some(LazyLoadBlob {
|
lazy_load_blob: Some(LazyLoadBlob {
|
||||||
@ -788,7 +788,7 @@ async fn websocket_close(
|
|||||||
inherit: false,
|
inherit: false,
|
||||||
expects_response: None,
|
expects_response: None,
|
||||||
body: serde_json::to_vec(&HttpServerRequest::WebSocketClose(channel_id)).unwrap(),
|
body: serde_json::to_vec(&HttpServerRequest::WebSocketClose(channel_id)).unwrap(),
|
||||||
metadata: Some("ws".into()),
|
metadata: None,
|
||||||
capabilities: vec![],
|
capabilities: vec![],
|
||||||
}),
|
}),
|
||||||
lazy_load_blob: Some(LazyLoadBlob {
|
lazy_load_blob: Some(LazyLoadBlob {
|
||||||
|
Loading…
Reference in New Issue
Block a user